Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Get "Headers" from a POST HTTP request via API

API specialists, help me!

 

I'm currently performing an HTTP POST in Power Query to get important data for authentication in an API.

When obtaining the results of this POST I use the Value.Metadata() function to obtain the metadata of the return I obtained, access the Headers field, but it only has a few options:

 

 

 

When I make the same request in Postman, I have several more options than what is shown in Power Query:

 

 

The attribute I need is exactly this "Set-Cookie". Has anyone gone through something similar and can guide me?

3 Replies