bowire.invoke
Invoke a discovered unary API method by sending a JSON body and optional headers or gRPC metadata to a server, service, and method.
Instructions
Invoke a unary method discovered via bowire.discover. body is a JSON string; metadata is a flat object of header / gRPC metadata key-value pairs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Server URL. | |
| body | No | JSON request body (default: "{}"). | {} |
| method | Yes | Method name. | |
| service | Yes | Service name. | |
| metadata | No | Optional headers / gRPC metadata as a flat string-to-string map. | |
| protocol | No | Optional protocol id; defaults to the first registered plugin. |