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
usage:
http [METHOD] URL [REQUEST_ITEM ...]
error:
unrecognized arguments: pie.dev/get
for more information:
run 'http --help' or visit https://httpie.io/docs/cli
Expected result
Make the request to the URL
Debug output
Please re-run the command with --debug, then copy the entire command & output and paste both below:
The following command works fine: http GET pie.dev/get --verify=no
The error you're facing might be due to the fact that httpie cli expects a URL immediately followed by METHOD. After the URL it accepts any request options(headers, form/json data fields, etc.)
You don't need to specify the HTTP method manually. When you include data fields (like JSON or form data), HTTPie automatically chooses the appropriate method, such as GET or POST, based on the context.
Checklist
Minimal reproduction code and steps
https GET --verify=no pie.dev/get
Current result
Expected result
Make the request to the URL
Debug output
Please re-run the command with
--debug
, then copy the entire command & output and paste both below:The text was updated successfully, but these errors were encountered: