cancel
Showing results for 
Search instead for 
Did you mean: 

Consuming Odata URL in CPI with POST Method

Akash
Participant
0 Kudos

Hi,

i have a odata url and in cpi this odata url i consumed with http adapter with post method. my question is how to handle x-csrf-token at the time of posting invoice via postman.Please suggest.

Accepted Solutions (0)

Answers (1)

Answers (1)

balaji_pichaimuthu
Active Participant

Hi Akash,

You may have to fetch the csrf token from authentication url via GET call then call the actual iflow with csrf token. you can find the instructions in detail in below link

How does CSRF token work? SAP Gateway | SAP Blogs

Regards,

Balaji