Skip to Content
0
Feb 05, 2022 at 07:48 PM

Failed to Fetch X-CSRF-Token using the HTTP Request Flow Function in AppGyver

700 Views

Hi All,

I am trying to send a POST request to my SAP system, for which I need a X-CSRF-Token.
I am using the HTTP Request Flow function. I could see in the developer tool the x-CSRF-Token is fetching correctly, But as the response of Flow function I am getting Response Header as empty . I have tried assigning the response to a variable using Formula
outputs[“HTTP request”].resHeaders.map[‘x-csrf-token’].This also didn’t worked.
Can someone help me to solve the issue.

Thanks,
Anjaly