Skip to content
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

FlagShortDefaultDescription
--format-fprettyOutput format: pretty, json, or curl
--jsonfalseOutput as JSON (same as --format json)
--revealfalseShow secret header and auth values instead of masking them

Aliases

  • inspect
  • view
  • info

Examples

Inspect a request before running it

gurl show literal
Name:       literal
Method:     GET
URL:        http://127.0.0.1:18731/x?token=*****

Headers:
  Authorization: *****

JSON for scripts

gurl show "create-order" --json | jq .headers

Reconstruct the curl command

gurl show "create-order" --format curl

Prints an equivalent curl command, masked the same way. For a copy-paste-ready command use gurl codegen -l curl.

Related commands