Selection of key-value pair value from Response Header
Options
![Pranav Jha](https://us.v-cdn.net/6037124/user_avatars/2168159.jpg)
Pranav Jha
Member ✭
Hi,
I am trying to select a specific key-value pair present under the response header by using subpath as mentioned in the video part 3 of Idea to App.
But it is observed that, it doesn't drill down inside the Header's key-value pair, instead it drill downs till headers option only. Attaching the image for reference purpose.[sub-path.png]
I am trying to select a specific key-value pair present under the response header by using subpath as mentioned in the video part 3 of Idea to App.
But it is observed that, it doesn't drill down inside the Header's key-value pair, instead it drill downs till headers option only. Attaching the image for reference purpose.[sub-path.png]
Comments
-
Ah. Those are array values, not key value pairs.
You can use dot notation and just add .2 in the input box. Data_Process.response.headers.2
If you are worried about the order of that item in the array then you could select it using the function stack item Array: Find Element.
Let me know if that helps or if you have any other questions. -
Thanks Sean. You got it right. I think I still need some help over here, as I am in the learning process and trying to figure out the desired output, which I am not getting.
-
I recommend you join office hours. It is free and we can go through this over screenshare. https://calendly.com/xano/officehours
-
Thanks Sean, see u there.
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