Hi
In ACS i had used the External API in one of the workflows to trigger an External REST Api. This was working all fine, but now I see that ACS is doing a "GET" call instead of a "POST" call on the API and the API is returning a 404 status.
Any insights on how to change this config in ACS would be helpful.
Thanks
Nagendra
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Nagendra,
By default, external Api only does a GET call to the external endpoint. In order to do a POST call, there has to be some json in Post Body Template section under Inbound Mapping tab in External Api activity.
1. Either you can add a query (or similar) activity before externalApi activity and define some field mapping in the Inbound columns section.
2. Or you can add some random valid json in the Customize Parameter section.
This will then get added to the postbody template section and will make a POST call to your endpoint.
-Pushkar
Views
Replies
Total Likes
Did you use javascript to trigger the API?
Views
Replies
Total Likes
Hi Nagendra,
By default, external Api only does a GET call to the external endpoint. In order to do a POST call, there has to be some json in Post Body Template section under Inbound Mapping tab in External Api activity.
1. Either you can add a query (or similar) activity before externalApi activity and define some field mapping in the Inbound columns section.
2. Or you can add some random valid json in the Customize Parameter section.
This will then get added to the postbody template section and will make a POST call to your endpoint.
-Pushkar
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies