Can you do a Post from an External API Activity | Community
Skip to main content
Level 5
August 26, 2020
Solved

Can you do a Post from an External API Activity

  • August 26, 2020
  • 2 replies
  • 1622 views

How do you do a POST from an External API Activity.  It seems to only work for GET.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by bisswang

The answer above is not correct.

The activity also can do HTTP POST to web services.

 

You can try:

* Define any query (cannhave record count 0)

* Then define any field mapping in the outbound mapping

This then shall trigger a POST here

 

 

2 replies

DavidKangni
Community Advisor
Community Advisor
August 26, 2020

Hi,

 

Yes it's only GET call. The External API activity brings data into the workflow from an external system via an HTTP API call.

Thanks,

David

David Kangni
JohnWi12Author
Level 5
August 27, 2020
Thanks David. I appreciate the answer. I was just trying to post to get an access token. This feature is very limited. Pretty much useless for most api's.
bisswangAdobe EmployeeAccepted solution
Adobe Employee
August 31, 2020

The answer above is not correct.

The activity also can do HTTP POST to web services.

 

You can try:

* Define any query (cannhave record count 0)

* Then define any field mapping in the outbound mapping

This then shall trigger a POST here

 

 

Adobe Employee
September 25, 2020
True.. Or you can also have some json you want to send as the post body in the Customize Parameters section under Inbound Mapping tab. This will add it to the Post body template section at the bottom and will get used while making the POST call to external endpoint.