on 01-13-2023 1:33 PM
I am trying to execute a simple CPI Integration flow as follows to understand how OData sender adapter works
Below is OData sender Adapter configuration
Below is my receiver adapter configuration
Basically, I am trying to send Json payload from postman to this Integration flow, but I am getting 403 forbidden error.
I am able to hit other iflows with HTTP as sender properly.
My Queries are:
Any help is appreciated!
This error message normally occurs if your CSRF token is expired or missing.
If you in the $metadata step add a header X-CSRF-Token with value "fetch" you will in the response get a header called x-csrf-token with a value. You need to pass that CSRF token to the POST operation as part of the header. The CSRF token has a relatively short validity, and needs to be matched with the cookies. In Postman you don't need to handle them specifically, Postman will automatically do it for you. If you should call the operation from say SAP ABAP you will in addition need to retrieve the cookies from the metadata call and pass them as well to the POST operation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
11 | |
10 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.