I am trying to get a specific header value from an HTTP request I made in Azure Logic Apps. The relevant logic looks like this:

What do I need to put into the 'value' field if I want to get one spefic header, say 'Set-Cookie'?
Thanks in advance.
CodePudding user response:
You need to switch to Code View and write,
@triggerOutputs()?['headers']?['Set-Cookie'].
CodePudding user response:
This will work for you (as an example of getting Content-Type) ...
outputs('HTTP')['headers']?['Content-Type']


