https://github.com/cgoldberg/sniff
Friendly formatter for curl requests to help with debugging
https://github.com/cgoldberg/sniff
Last synced: 8 months ago
JSON representation
Friendly formatter for curl requests to help with debugging
- Host: GitHub
- URL: https://github.com/cgoldberg/sniff
- Owner: cgoldberg
- Created: 2017-04-08T17:42:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-23T18:37:58.000Z (over 7 years ago)
- Last Synced: 2025-01-11T15:13:36.592Z (9 months ago)
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sniff
#### Friendly formatter for curl requests to help with debugging.
----
Instructions:
* add a shell alias for `sniff`:
* `alias sniff='curl -sS --compressed -o /dev/null -w "@sniff.txt" "$1"'`
* run `sniff` against a URL:
* `sniff https://example.com`
----
initial code import from: https://gist.github.com/manifestinteractive/ce8dec10dcb4725b8513