sendRequest
Submit gRPC requests to a server by specifying the proto file path, server address, service, method, and request body in JSON format, with optional headers and SSL configuration.
Instructions
Send a request to a gRPC server
Input Schema
Name | Required | Description | Default |
---|---|---|---|
address | Yes | Address of the gRPC server (e.g., it2.trylion-customer-api.askul-it.com:443) | |
body | Yes | Request body in JSON format | |
config | No | Configuration options for the request | |
headers | No | Optional headers to include in the request | |
method | Yes | Method name (e.g., GetAddress) | |
path | Yes | Path to the proto file (Full path) | |
service | Yes | Service name (e.g., AddressService) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"address": {
"description": "Address of the gRPC server (e.g., it2.trylion-customer-api.askul-it.com:443)",
"type": "string"
},
"body": {
"description": "Request body in JSON format",
"type": "string"
},
"config": {
"additionalProperties": false,
"description": "Configuration options for the request",
"properties": {
"SSL": {
"description": "Whether to use SSL for the request",
"type": "boolean"
},
"deadLine": {
"description": "Deadline for the request in milliseconds",
"type": "number"
}
},
"type": "object"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"description": "Optional headers to include in the request",
"type": "object"
},
"method": {
"description": "Method name (e.g., GetAddress)",
"type": "string"
},
"path": {
"description": "Path to the proto file (Full path)",
"type": "string"
},
"service": {
"description": "Service name (e.g., AddressService)",
"type": "string"
}
},
"required": [
"path",
"address",
"service",
"method",
"body"
],
"type": "object"
}