http-post
Send HTTP POST requests to specified URLs with optional body, headers, and secret substitution using {secrets.key} syntax, simplifying API interactions within the HAL server environment.
Instructions
Make an HTTP POST request to a specified URL with optional body and headers. Supports secret substitution using {secrets.key} syntax in URL, headers, and body where 'key' corresponds to HAL_SECRET_KEY environment variables.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
body | No | ||
contentType | No | application/json | |
headers | No | ||
url | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {
"type": "string"
},
"contentType": {
"default": "application/json",
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}