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

You can have curl read the request body from a file using --data @filename.txt.


Which means you've opened an editor already to edit the request. Might as well send the request right there via an editor command/plugin.


Or you saved the response from a different curl request, or it’s checked into git, or a million different reasons.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: