Y
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
piaste
1592 days ago
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.
link
halpert
1592 days ago
Or you saved the response from a different curl request, or it’s checked into git, or a million different reasons.
link