X-CSRF-TOKEN SAP a genesys cloud

Good morning,

I have to perform a data action to retrieve a token from SAP, but they only tell us that we have to pass this through the header X-CSRF-TOKEN with FETCH value, they tell us that from postman it is returned automatically and it is true, but in genesys how to proceed?

A greeting

Hi kike,

Can you either show / attach examples of the postman requests that you are using or provide a link to the SAP documentation for the endpoints that you are using?

--Jason

Is this the API that you are attempting to use?
https://blogs.sap.com/2021/06/04/how-does-csrf-token-work-sap-gateway/

If so, we currently can not support this as we do not support getting at the response headers or cookies. I would suggest voting for this idea and adding your use case if it does not already have it.
https://genesyscloud.ideas.aha.io/ideas/OTB-I-242

--Jason

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.