Skip to Content
0

OData CSRF token in Cloud Platform Integration

May 04, 2017 at 03:12 PM

117

avatar image

Hi,

I've build a iFlow to fetch data from a SAP Gateway system by using the HCIOData adapter. This works like a charm. Now, I would like to update some data by using the PUT method. By using SOAPUI, I managed to change some data by executing the PUT method. To be able to do so, I had to extend the header of the HTTP call with a X-CSRF-token and Cookie.

Now I would like to know how the HTTP header can ben extended within HCI before the HTTP call is posted to the Gateway. If the header does not contain the token and cookie, the call will be refused. Any ideas are welcome!

Kind regards,

Ivo

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sriprasad Shivaram Bhat May 04, 2017 at 04:08 PM
0

Hello Ivo,

Can you try adding Content Modifier before calling HTTP POST with below header .Below might work.

Regards,

Sriprasad Shivaram Bhat


Share
10 |10000 characters needed characters left characters exceeded