on 10-26-2020 4:09 AM
Hi All,
I'm trying to develop CAI bot with oData using API management service, API management get and post calls are working fine.
In CAI, get call triggered correctly.
In post call I'm , I added x-csrf-token and content-type in header and passed payload in body section
my post call not show any issue errors in CAI
, but backend odata call not getting triggered. debugger not triggered in back end too..
Hi Srinivasulu,
please be aware that CSRF tokens are always only valid for a specific session, so besides the "x-csrf-token" header you also need to pass the "Cookie" header.
See https://answers.sap.com/answers/13168402/view.html for a full example.
In case this does not solve your problem, please provide additional information on the error returned by the external service (e.g. by using the {{api_service_response.default.body}} and {{api_service_response.default.status_code}} variable in a Send Message action) and also which authentication you're using. Is the authentication successful for GET calls?
Regards
Jonas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.