Hi Experts,
I am trying to send POST request using HTTP connector. The Odata API required x-csrf-token to be sent as well. I could fetch token from previous GET request and trying to pass it to subsequent POST request. Though I could see it as input, API returns with a message 403 and CSRF token validation failed. The same works with POSTMAN. Please suggest.
Input :
Raw input :
Output
Regards,
Running into same issue, did you ever figure this out?
Thanks, I have replace the commas to semicolon, but still I am getting the CSRF token validation failed error.
I am trying to connect to on-premise SAP System via data gateway and already did all the configuration but still unable to send cookies.
Yes, it has been resolved.
Modify this expression to yours "replace(outputs('Get_product')['headers']['Set-Cookie'],',',';')" to replace commas in your set-cookie.
Is it resolve? I am also getting the same error.
can you plz elaborate and give the syntax for the post method
Had the same issue for days and figured it out today:
You need to submit the session cookie, which you will find in the "set-cookie" header of your GET request.
This needs to be passed to the POST request. Unfornately this can't be done using a custom connector.
I used a normal http request for this. You can set a Cookie Attribute there.
For the info from "set-cookie" you need to replace "," with ";" before passing it to your POST-Request.
stampcoin
61
Michael E. Gernaey
47
Super User 2025 Season 1
rzaneti
31
Super User 2025 Season 1