on 2025 Feb 03 6:19 PM
Hi All,
Please see step by step to access the GET & POST methods from POST MAN without asking for any credentials.
1) Create a Odata service and follow regular steps to register the service
2) redefine below methods:
2) Settings in SICF for the service:
create a user id with credentials, and user type must be 'Service'.
Maintain the user credentials in the service like below.
3) Call the GET method from Gateway client & POSTMAN.
2) POST method:
POST from Gateway
here we need to select '$batch' from 'ADD URI option' and change the entityset name in HTTP request payload and add the payload data like below and click on execute.
In my case i have considered only two fields ( Vbeln & Ernam ).
POST from POSTMAN:
pass X-Requested-With = X in header
pass payload in body:
click on send: see the results below
once click on, backend method 'crete_entity' gets triggered.
i have created a custom table with one field, in my case the table got updated with the sales order number.
Thank You,
Srini T
Request clarification before answering.
why?
this is the worst thing you can do
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.