send_request_to_gateway
Send one or multiple requests to the APISIX gateway for processing, including path, method, data, and headers, with optional parallel execution.
Instructions
Send a request or multiple requests to the APISIX gateway
Input Schema
Name | Required | Description | Default |
---|---|---|---|
requests | Yes | array of requests to send in parallel |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"requests": {
"description": "array of requests to send in parallel",
"items": {
"additionalProperties": false,
"properties": {
"data": {
"description": "request data"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"description": "request headers",
"type": "object"
},
"method": {
"description": "request method",
"type": "string"
},
"path": {
"description": "request path",
"type": "string"
},
"repeatCount": {
"default": 1,
"description": "number of requests to send in parallel",
"type": "number"
}
},
"required": [
"path",
"method"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"requests"
],
"type": "object"
}