Get a specific header data from an API response
Options
![pachocastillosr](https://us.v-cdn.net/6037124/uploads/userpics/MC7ELS8NG1HC/nPLP98RNMYYEZ.jpg)
pachocastillosr
Member ✭
Hi,
I am doing an api call to Shopify REST API.
This is returning all the headers:
I need specifically the "link" header, cause that's the link used for paging.
I've tried this (didn't work):
Any ideas on how to get this url?
Thanks!
Tagged:
Best Answer
-
Headers are an array, so if want a specific one you need to know the index, which hopefully is always the same for the link.
Then you either split by < and > to get only the link or use some other method to slice out what you want.
Answers
-
Thanks @Pawel Magdanski
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback