How do I get the response headers from a POST API call?
I can see the response object but not the headers. Any help greatly appreciated
How do I get the response headers from a POST API call?
I can see the response object but not the headers. Any help greatly appreciated
Hi @tjmcdonough
The payload headers are available as a result of the request action:
__
The request headers are available in the “config” object of the result:
@Joyce I saw this but you only return content-length and content-type on each response. I have about 13 response headers that aren’t being returned
Could you share what your call and response look like in Postman so I can reproduce them in WeWeb?
If it’s the authentication token you need (based on our conversation in the chat), then you can retrieve its value by creating a Variable of type Query in WeWeb that has exactly the same name.
In the example below, that would be accessToken
If it’s something else, can you provide us with a little bit more context so we can look into it?