Other
HTTP Request
Sends a HTTP request to an API endpoint. Used to fetch data or send data.
Fields
Name | Type | Control | Default | Description | Options | Validation |
---|---|---|---|---|---|---|
Method | Text | - | GET | - |
| Allowed values: GET, POST, PUT, PATCH, DELETE |
URL | Text | Textarea | - | - | - | Format: uri |
Headers | Key-Value | - | - | - | - | |
Body type | Text | - | text | - |
| - |
Body | Text | Textarea | - | - | - | - |
End states
Below are the possible end states of the block call.
Name | Field | Type | Description |
---|---|---|---|
Success | - | success | The request was successful. |
Response error | - | error | The connection was established successfully but an error response code was received or the response was invalid. |
Connection error | - | error | The connection couldn’t be established. |