Skip to content

Request body should be allowed to be a string #21

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

Open
rtheunissen opened this issue May 5, 2015 · 1 comment · May be fixed by #22
Open

Request body should be allowed to be a string #21

rtheunissen opened this issue May 5, 2015 · 1 comment · May be fixed by #22
Assignees
Milestone

Comments

@rtheunissen
Copy link

You are currently forced to provide an array for the body parameter of AbstractService::httpRequest, but it's often a requirement to send a string rather than form data. Buzz/Browser allows for this using call as an alternative to submit.

The solution is to allow body to be a string, and use call instead of submit in this case.

@logical-and
Copy link
Owner

Thank you for suggestion. I will review it soon.

@logical-and logical-and added this to the 0.7 milestone May 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants