ACS External API

nagendrar190415

04-08-2020

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

Accepted Solutions (0)

Answers (2)

Answers (2)

pushkar_k

Employee

24-09-2020

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