-
-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE REQUEST] Improved POSTs requests (2): automatic POST HTTP verb when using --data #1118
Labels
enhancement
New feature or request
Comments
howdy! this is an easy fix and makes sense to me. i'm going to add this into a PR i already have in progress. thanks! |
17 tasks
nice, thank you! |
It's not merged yet, but will be this week likely |
ooops sorry |
@all-contributors add @JulianGR for ideas |
I've put up a pull request to add @JulianGR! 🎉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sister issue with #1117
FEATURE REQUEST 2: automatic POST HTTP verb when using --data
Is your feature request related to a problem? Please describe.
When using the
--data
flag to add data to the body of the request, the HTTP verb that remains is GET (default). Everytime I use--data
flag, has to be used together with-m POST
Describe the solution you'd like
I'd like that, when using
--data
flag, the HTTP verb automatically updates to POST. Also,-m
will now only accept POST or PUT. As far as I'm concerned, GET requests are allowed to have body, but the server parses them useless.Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: