Skip to Content

Unable to make POST request to NW Gateway Service using ODataService Action block

Feb 13 at 12:36 AM


avatar image


I am trying make a HTTP POST request call to the NW Gateway Service(OData) using the ODataService action block.

I am getting following error

  • [INFO] ODataService Action: xsrfid response status code is 400 and status message is Bad Request
  • [INFO] ODataService Action: response status code is 403 and status message is Forbidden

I learnt from my initial research that, I need to get the x-csrf-token from the NW GW OData Service by sending an initial GET request with HTTP Request Header x-csrf-token: Fetch.

And then pass the x-csrf-token received from the previous call as a request header in the subsequent POST request to the NW GW service. But I couldn't find a way to set the request headers in the OData Service Action block.

I don't know if there is a way to get around this problem.

Any help is highly appreciated.

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

0 Answers