title |
lang |
draft |
description |
REST API |
en-US |
false |
|
The REST API component is a generic component that allows users to make requests to external REST APIs.
It can carry out the following tasks:
Alpha
The component configuration is defined and maintained here.
Field |
Field ID |
Type |
Note |
Authentication (required) |
authentication |
object |
Authentication method to use for the REST API |
Send a HTTP GET request.
Input |
ID |
Type |
Description |
Task ID (required) |
task |
string |
TASK_GET |
Endpoint Url (required) |
endpoint-url |
string |
The API endpoint url |
Body |
output-body-schema |
string |
The request body |
Output |
ID |
Type |
Description |
Status Code |
status-code |
integer |
The HTTP status code of the response |
Body |
body |
any |
The body of the response |
Header |
header |
object |
The HTTP header of the response |
Send a HTTP POST request.
Input |
ID |
Type |
Description |
Task ID (required) |
task |
string |
TASK_POST |
Endpoint Url (required) |
endpoint-url |
string |
The API endpoint url |
Body |
body |
any |
The request body |
Body |
output-body-schema |
string |
The JSON schema of output body |
Output |
ID |
Type |
Description |
Status Code |
status-code |
integer |
The HTTP status code of the response |
Body |
body |
any |
The body of the response |
Header |
header |
object |
The HTTP header of the response |
Send a HTTP PATCH request.
Input |
ID |
Type |
Description |
Task ID (required) |
task |
string |
TASK_PATCH |
Endpoint Url (required) |
endpoint-url |
string |
The API endpoint url |
Body |
body |
any |
The request body |
Body |
output-body-schema |
string |
The JSON schema of output body |
Output |
ID |
Type |
Description |
Status Code |
status-code |
integer |
The HTTP status code of the response |
Body |
body |
any |
The body of the response |
Header |
header |
object |
The HTTP header of the response |
Send a HTTP PUT request.
Input |
ID |
Type |
Description |
Task ID (required) |
task |
string |
TASK_PUT |
Endpoint Url (required) |
endpoint-url |
string |
The API endpoint url |
Body |
body |
any |
The request body |
Body |
output-body-schema |
string |
The JSON schema of output body |
Output |
ID |
Type |
Description |
Status Code |
status-code |
integer |
The HTTP status code of the response |
Body |
body |
any |
The body of the response |
Header |
header |
object |
The HTTP header of the response |
Send a HTTP DELETE request.
Input |
ID |
Type |
Description |
Task ID (required) |
task |
string |
TASK_DELETE |
Endpoint Url (required) |
endpoint-url |
string |
The API endpoint url |
Body |
body |
any |
The request body |
Body |
output-body-schema |
string |
The JSON schema of output body |
Output |
ID |
Type |
Description |
Status Code |
status-code |
integer |
The HTTP status code of the response |
Body |
body |
any |
The body of the response |
Header |
header |
object |
The HTTP header of the response |
Send a HTTP HEAD request.
Input |
ID |
Type |
Description |
Task ID (required) |
task |
string |
TASK_HEAD |
Endpoint Url (required) |
endpoint-url |
string |
The API endpoint url |
Body |
output-body-schema |
string |
The request body |
Output |
ID |
Type |
Description |
Status Code |
status-code |
integer |
The HTTP status code of the response |
Body |
body |
any |
The body of the response |
Header |
header |
object |
The HTTP header of the response |
Send a HTTP OPTIONS request.
Input |
ID |
Type |
Description |
Task ID (required) |
task |
string |
TASK_OPTIONS |
Endpoint Url (required) |
endpoint-url |
string |
The API endpoint url |
Body |
body |
any |
The request body |
Body |
output-body-schema |
string |
The JSON schema of output body |
Output |
ID |
Type |
Description |
Status Code |
status-code |
integer |
The HTTP status code of the response |
Body |
body |
any |
The body of the response |
Header |
header |
object |
The HTTP header of the response |