Hacker News new | ask | show | jobs
by halpert 1592 days ago
You can have curl read the request body from a file using --data @filename.txt.
1 comments

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.