nomctl api#
Send a request to a REST or gRPC endpoint
Usage: nomctl api [OPTIONS] <TARGET> [BODY]
Arguments:
<TARGET>
REST path (/scout/v1/run/rid) or gRPC method (pkg.Service/Method)
[BODY]
JSON request body
Options:
-X, --method <METHOD>
Override HTTP method (GET, POST, PUT, DELETE, PATCH)
--conjure
Force Conjure (REST) routing
--grpc-http
Force gRPC-over-HTTP routing
--grpc
Force native gRPC routing
--dry-run
Print the matched endpoint and exit without sending the request
-h, --help
Print help