Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
halpert
· 4y ago · 0 comments
You can have curl read the request body from a file using --data @filename.txt.
Comments
[–]
piaste
4y 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.
[–]
halpert
OP
4y ago
Or you saved the response from a different curl request, or it’s checked into git, or a million different reasons.