# How to access Content-Range header in WeWeb when using REST API call to Supabase function?

**URL:** <https://community.weweb.io/t/how-to-access-content-range-header-in-weweb-when-using-rest-api-call-to-supabase-function/17714>\
**Category:** How do I?\
**Tags:** supabase\
**Created:** [April 10, 2025, 1:26pm UTC](https://community.weweb.io/t/how-to-access-content-range-header-in-weweb-when-using-rest-api-call-to-supabase-function/17714 "2025-04-10T13:26:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Artur.AppDaHorta](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Artur.AppDaHorta](https://community.weweb.io/u/Artur.AppDaHorta)\
**Post date:** [April 10, 2025, 1:26pm UTC](https://community.weweb.io/t/how-to-access-content-range-header-in-weweb-when-using-rest-api-call-to-supabase-function/17714/1 "2025-04-10T13:26:38Z")

</div>

Hi everyone!

I’m setting up a **REST API call** in WeWeb to execute a Supabase function, since using the native plugin is too limited for my use case.

In **Postman** , I’m able to configure the request like this:

```auto
curl --silent --location --request GET '<url>/rest/v1/rpc/filter_clientes?limit=10&offset=0' \
--header 'apikey: <apikey>' \
--header 'Authorization: <authorization>' \
--header 'Prefer: count=exact'

```

This call works perfectly and returns the **`Content-Range` header** , which is essential for getting the **total number of items** in the query (e.g., `0-9/1663`, where `1663` is the total count).

 ![weweb1](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/1/103e31612245f250216f47798fa76254335a9dac.png)

However, when I set up the same request in **WeWeb** , I can’t access this header in the response — as shown in the screenshots I’ve attached.

It seems like WeWeb only exposes the **response body** , and the **response headers are not available**.

🧩 **Question** :  
Is there any way to access the `Content-Range` header in WeWeb?  
Or any workaround to retrieve **response headers** from a REST API call?

Thanks in advance! 🙏

---

<div class="post-metadata">

**Author:** ![Matt](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/matt/32/13947_2.png) [@Matt](https://community.weweb.io/u/Matt)\
**Post date:** [July 2, 2025, 9:26am UTC](https://community.weweb.io/t/how-to-access-content-range-header-in-weweb-when-using-rest-api-call-to-supabase-function/17714/2 "2025-07-02T09:26:01Z")

</div>

I’ve got the same issue, I need to get the the content-range parameter from my collection header
