Skip to main content
Best answer

How to get response headers from a POST request

  • September 4, 2024
  • 1 reply
  • 63 views

I have a webhook to make a POST request to my API (a sign-in).
Sign-in credentials come in the headers response. But i can’t access to the headers…!

How can we access the header response? In the output of the webhook there is only the data but no header.

 

I think i can do it with Python code but this is so dumb. Why not put the headers in the outputs of the webhook?

Best answer by Troy Tessalone

Hi @AlexWikio 

You may have to use a Code step to make the API request for more flexibility in handling the response.

View original
Did this topic help you find an answer to your question?

1 reply

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 31598 replies
  • Answer
  • September 4, 2024

Hi @AlexWikio 

You may have to use a Code step to make the API request for more flexibility in handling the response.