You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
seq 1 | parallel -n0 "http POST http://httpbin.org/post url=http://google.com/"
The result is:
http: error: Request body (from stdin or a file) and request data (key=value) cannot be mixed.
It seems that by using a pipe with parallel, httpie is thinking that it's meant to take data from stdin/file, and won't take in the command like request data.
The -n0 command makes parallel not pass any parameters to the command.
The text was updated successfully, but these errors were encountered:
This works:
But this doesn't:
The result is:
It seems that by using a pipe with parallel, httpie is thinking that it's meant to take data from stdin/file, and won't take in the command like request data.
The
-n0
command makes parallel not pass any parameters to the command.The text was updated successfully, but these errors were encountered: