Output
Control what tgrs shows you — from minimal silent mode to detailed verbose and trace output.
Verbose Mode
Full Request & Response Details
Use -v / --verbose to see everything: request headers, response headers, timing information, and response size.
# Using -v
tgrs GET https://api.example.com/users -v
# Using --verbose
tgrs GET https://api.example.com/users --verbose
Silent Mode
Response Body Only
Use -s / --silent to suppress all extra output. Only the response body is printed — perfect for piping to other commands.
# Silent output
tgrs GET https://api.example.com/users -s
# Pipe to jq for JSON processing
tgrs GET https://api.example.com/users -s | jq '.[0].name'
JSON Output
Structured JSON Output
Use --json to get the full request and response as a structured JSON object. Ideal for CI/CD pipelines and automation scripts.
tgrs GET https://api.example.com/users --json
The JSON output includes request details, response status, headers, body, timing, and protocol information.
Trace Mode
Detailed Timing Breakdown
Use -t / --trace to see a detailed breakdown of where time was spent: DNS resolution, TCP connection, TLS handshake, time to first byte (TTFB), and total response time.
# Trace timing breakdown
tgrs GET https://api.example.com/users -t
tgrs GET https://api.example.com/users --trace
[ response headers ]
[ response body ]
Dry Run
Preview Without Sending
Use -r / --dry-run to see exactly what would be sent without actually making the request. Great for debugging complex requests.
# See the request without sending it
tgrs POST https://api.example.com/users \
-H "Authorization: Bearer token123" \
name:John email:john@example.com -r
Print Control
Fine-Grained Output with -p
Use -p / --print to choose exactly which parts to display. Combine the letters for the output you want.
HRequest headersBRequest bodyhResponse headersbResponse body# Show everything
tgrs GET https://api.example.com/users -p HBhb
# Show only response headers and body
tgrs GET https://api.example.com/users -p hb
# Show only request headers
tgrs GET https://api.example.com/users -p H
# Show only response body
tgrs GET https://api.example.com/users -p b
Response Headers & Body Only
Dedicated Flags
Shortcuts for showing only response headers or only the response body.
# Show only response headers
tgrs GET https://api.example.com/users --response-headers
# Show only response body
tgrs GET https://api.example.com/users --response-body
Raw Output
No Colors, No Formatting
Use --raw to disable all colors and formatting. Useful when piping output or writing to log files.
tgrs GET https://api.example.com/users --raw
Compression
Disable Decompression
tgrs automatically decompresses gzip, brotli, and deflate responses. Use --no-compressed to disable this and receive the raw compressed body.
tgrs GET https://api.example.com/data --no-compressed
Quick Reference
Output Flags
| Flag | Alias | Description |
|---|---|---|
| -v | --verbose | Show full request/response details |
| -s | --silent | Response body only, no extras |
| -p | Fine-grained control (H/B/h/b) | |
| -t | --trace | Detailed timing breakdown |
| --json | Structured JSON output | |
| -r | --dry-run | Preview without sending |
| --raw | No colors/formatting | |
| --response-headers | Show response headers only | |
| --response-body | Show response body only | |
| --no-compressed | Disable automatic decompression |