plugins/action-copy-grpcurl/README.md
An HTTP request action plugin that converts gRPC requests into gRPCurl commands, enabling easy sharing, debugging, and execution of gRPC calls outside Yaak.
This plugin adds a "Copy as gRPCurl" action to gRPC requests, converting any gRPC request
into its equivalent executable command. This is useful for debugging gRPC services,
sharing requests with team members, or executing gRPC calls in terminal environments where
grpcurl is available.
The plugin analyzes your gRPC request configuration and generates a properly formatted
grpcurl command that includes:
grpcurl -plaintext \
-d '{"name": "John Doe"}' \
localhost:9090 \
user.UserService/GetUser
grpcurl -plaintext \
-H "authorization: Bearer my-token" \
-H "x-api-version: v1" \
-d '{"user_id": "12345"}' \
api.example.com:443 \
user.UserService/GetUserProfile
grpcurl \
-d '{"query": "search term"}' \
secure-api.example.com:443 \
search.SearchService/Search
grpcurl -import-path /path/to/protos \
-proto /other/path/to/user.proto \
-d '{"email": "[email protected]"}' \
localhost:9090 \
user.UserService/CreateUser