You can now call out from your IBM App Connect flow to any HTTP endpoint.
To use the HTTP connector, select its action, ‘Invoke method’, from the Applications panel. You can do this in both event-driven and API flows.
To call the endpoint, you’ll need to specify its URL and the HTTP method to invoke it with. App Connect currently supports GET
, POST
, PUT
, PATCH
, DELETE
, and HEAD
as methods. You can also optionally include request headers, and a request body, whose format is determined by the endpoint you’re calling.
You can call an endpoint that is secured with basic authentication by adding a user name and password to your HTTP account.
All the input fields, as well as the response headers and response body that the endpoint returns, are available for use later in your flow. You can also choose whether to continue the flow if an error occurs. This means that you can implement your own error handling within the flow.
The use of an HTTP node, as described in this blog, provides one way for you to integrate with APIs in your organization, as well as third-party APIs. App Connect also provides other ways for you to integrate with APIs; for more information, see here.