Appearance
HTTP/API
Use xh for one-off requests and hurl for request files that should be rerun, reviewed, or checked into a project.
Tools
hurl is managed by mise in the workstation tool inventory. The repo also renders secret-free templates under:
text
~/.config/hurl/templates/Available templates:
text
healthcheck.hurl
json.hurl
auth-bearer.hurlHelpers
Create a request from a managed template:
bash
hurl-new healthcheck api-health.hurlRun one file:
bash
hurl-run api-health.hurlRun every .hurl file under the current directory:
bash
hurl-runPass secrets at runtime rather than writing them into request files:
bash
hurl-run --variable token="$API_TOKEN" auth-bearer.hurlSecret Policy
Do not commit bearer tokens, API keys, cookies, session headers, or local credential files. Use runtime variables, environment variables, direnv-managed local files, or an external secret store.
The managed auth-bearer.hurl template intentionally contains only the variable placeholder.