HTTP Request
Call any API using the HTTP protocol
This action is a wrapper over the HTTP protocol and you can use it to connect to any API.
For more technical users you can see it as a cURL tool equivalent.
For less technical users you can see it as a web browser without an user interface.
This action is very versatile as it will allow you to talk to any system that exposes an HTTP service, exactly like the web browser you use every day.
Inputs
The inputs follow the HTTP Request Message parameters
Name | Type | Description |
---|---|---|
Method | String | The HTTP Method. Examples: GET , POST |
URL | String | The URL you want to connect to |
Headers | Object | The HTTP Headers JSON object. Example: {"Authorization": "Bearer xyz", "X-abc": "example"} |
Body | String | The HTTP request message body. Can be null or a (non)empty String.Example: {\"json_field\": \"json_value\"} |
Outputs
The outputs map the HTTP Response Message data
Name | Type | Description |
---|---|---|
Status Code | Number | Examples: 200, 404 |
Status Text | String | Examples: OK, Not Found |
Headers | Object | The HTTP Response headers as a JSON object—key/value pairs. |
Body | Object | The HTTP Response message body. If the API responds with an application/json body, the action automatically parses the response body. |
Action Status | String. success or failure | Whether the action has succeeded or not |
Updated 12 months ago