Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

curl -i (lowercase) prints the headers as well as the response body without the verbosity of -v


I believe you can also control what exactly is emitted with -w, which is nicer than trying to parse it later.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: