Performs a POST request to the specified endpoint URL.
Octave.Http.post(url, headers, data)
Parameters
url
: the URL to POST.headers
: a mapping of header names and values.data
: the POST body.
Parameter | Type | Required | Description |
---|---|---|---|
url | String | Yes | The URL to POST. |
headers | String | No | A mapping of header names and values. |
data | String | No | The POST body. |
Returns
Field | Type | Description |
---|---|---|
headers | String | Map of header keys and values. |
status | Integer | HTTP status code. |
message | String | HTTP status message. |
contentType | String | Value of HTTP Content-Type header. |
content | String | Response body. |