-
Notifications
You must be signed in to change notification settings - Fork 9
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
post vs put #11
Comments
I'm not quite sure what you are asking for. The current code follows the Could you provide an example of how you currently call it and how you would like to call it? Or better yet, a suggested patch? |
I need to say that i'm unfortunately not familiar with libcurl; that's why i am asking on your optionion before making a nonsense pull request. What I want to point out is that the signatures (or semantics) for the 2 methods, When I am using curl on the command line put vs post looks like this:
I am looking for the same interchangeability in this library. What I want to do is sending |
likewise You can still just call
or
If you can come up with a good calling sequence, we could make |
Hi,
I am using this module to talk to a REST API. Some API endpoints are available with the PUT method, some are available with the POST method. While talking to the REST API the content to be sent is in a variable, for both HTTP methods.
I wanted to know if you have any suggestions to make it more easy for me, or maybe if you considder making POST and PUT more similar?
https://github.com/CurtTilmes/perl6-libcurl/blob/master/lib/LibCurl/HTTP.pm6#L29-L38
The text was updated successfully, but these errors were encountered: