This HTTP Request native action allows you to connect any service with a REST API to your Arengu flows.
Connect your REST API service
To connect a REST API service to Arengu you will need the services' Bearer token:

HTTP request
Connects to any API Service using the REST protocol.
Input settings
Parameter | Description |
---|---|
ID (required) | Action ID. It is used to reference the output values of the action. |
Alias | Short description to be displayed in the action. |
Connection (required) | Select an existing connection from the vault or create a new connection with the API service's Bearer token |
URL (required) | The URL that will receive the request. |
Method | Selects the HTTP method to be used:
|
Content type | The header property that indicates the type of content that is being sent:
|
Body | The body of the request. |
Headers | The headers of the request. |
URL params | The URL parameters. These parameters will be automatically URI encoded. |
Enable Basic Auth | Enables authentication with username and password. |
Review the application's API documentation for expected endpoint URLs, methods, parameters, requests and responses.
Output object
Property | Type | Description |
---|---|---|
headers | Object | The headers of the HTTP response. |
body | Object | The parameters from the response. |
status | Number | The status code. |
success | Boolean | Returns true or false based on the HTTP response. |
Output object example
{ "headers": { "content-type": "application/json; charset=utf-8", }, "status": 200, "body": { "token": "eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhb...", "claim_url": "https://custom.demos.arengu.com/claim?token=eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhbmEudmlsYXIuZ0BnbWFpb...", "data": { "sub": "john.doe@arengu.com", } }, "success": true }