Skip to main content
Answer

How to get response headers from a POST request

  • September 4, 2024
  • 1 reply
  • 96 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.

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 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.