Hello,
I am trying to get the x-crfs-token authentication token from my SAP application per GET as this is necessary for further access:
| makeresults count=1
| eval header="{\"x-csrf-token\":\"fetch\"}"
| curl user= pass= method=get headerfield= header debug=true uri="https://myip/sap/opu/odata/sap/INBOUNDCONNECTOR/InboundAlertSet"
Now, when I do the above in the Postman, I get an error from the corresponding function (InboundAlertSet) in the response body but also I get the required x-csrf-token passed in the response header.
How would I get / read the response header with the WebTools? Is it possible?
Kind Regards,
Kamil