Hacker News new | past | comments | ask | show | jobs | submit login

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 Spring batch! Applications are open till Feb 11.

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

Search: