The rest\Request action enables access to the REST API functions.
Parameters
|
Type |
Name |
Description |
|---|---|---|
|
SELECT |
datasource |
Specifies the name of the data source to be used for the request. |
|
TEXT |
Path |
Specifies the path of the REST API. |
|
SELECT |
Method |
Specifies the HTTP method to be used for the request. |
|
KEYVALUELIST |
Headers |
Specifies the headers for the request. |
|
TEXT |
Timeout |
Specifies the time in milliseconds to wait for the response. |
|
EDITOR |
Body |
Specifies the content of the request body (request text). |
|
KEYVALUELIST |
Body Variables |
Specifies the variables to be replaced in the request body. |
|
TEXT |
Expected status |
Specifies the expected HTTP status code. Multiple valid statuses must be separated by a comma. |
Return
|
Type |
Description |
|---|---|
|
DATASET |
Returns a record with the content of the response. Defined columns in the record: |