Skip to content
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

Add put method without body #175

Merged
merged 1 commit into from
Sep 18, 2016
Merged

Conversation

kanmo
Copy link
Contributor

@kanmo kanmo commented Sep 18, 2016

I want to use HTTP PUT without body parameter.
This is an example of the github api.

screen shot 2016-09-18 at 09 44 37

The default value of body argument of HTTPoison.Base.put method was to "".

@edgurgel
Copy link
Owner

Fair enough. I can't see why this wouldn't be a good default. Thanks for the PR

@edgurgel edgurgel merged commit fab5d7c into edgurgel:master Sep 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants