php-oauth
php-oauth copied to clipboard
Request body should be allowed to be a string
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.
Thank you for suggestion. I will review it soon.