api_post
Send data to an API endpoint using a POST request. Specify the URL, JSON body, and headers to interact with web services and automate API-based tasks effectively.
Instructions
Perform a POST request to an API endpoint
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | Yes | Request body data (JSON string) | |
headers | No | Request headers | |
url | Yes | API endpoint URL |
Input Schema (JSON Schema)
{
"properties": {
"data": {
"description": "Request body data (JSON string)",
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"description": "Request headers",
"type": "object"
},
"url": {
"description": "API endpoint URL",
"type": "string"
}
},
"required": [
"url",
"data"
],
"type": "object"
}