gurl show
gurl show
Print everything stored on a saved request: method, URL, headers, body, auth, extraction rules, scripts, collection and tags. Literal secrets are masked by default.
Synopsis
gurl show <name> [flags]Values of credential headers, sensitive query parameters (for example ?token=...) and secret auth params print as *****. Values that are placeholders such as Bearer {{API_KEY}} stay visible, because they only name a variable. Pass --reveal to print the literals; --reveal is refused in agent mode.
Flags
| Flag | Short | Default | Description |
|---|---|---|---|
--format | -f | pretty | Output format: pretty, json, or curl |
--json | false | Output as JSON (same as --format json) | |
--reveal | false | Show secret header and auth values instead of masking them |
Aliases
inspectviewinfo
Examples
Inspect a request before running it
gurl show literalName: literal
Method: GET
URL: http://127.0.0.1:18731/x?token=*****
Headers:
Authorization: *****JSON for scripts
gurl show "create-order" --json | jq .headersReconstruct the curl command
gurl show "create-order" --format curlPrints an equivalent curl command, masked the same way. For a copy-paste-ready command use gurl codegen -l curl.
Related commands
gurl run- Execute a saved request (--dry-runpreviews the resolved request)gurl edit- Edit a saved requestgurl list- List saved requests- Header redaction - What gets masked