php-oauth icon indicating copy to clipboard operation
php-oauth copied to clipboard

Request body should be allowed to be a string

Open rtheunissen opened this issue 10 years ago • 1 comments

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.

rtheunissen avatar May 05 '15 03:05 rtheunissen

Thank you for suggestion. I will review it soon.

logical-and avatar May 05 '15 20:05 logical-and