gh api --include /user

Category: GitHub CLI

gh api --include /user

Include HTTP response headers in the API output

Includes the HTTP response headers in the output alongside the body.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.