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.
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 usecall
instead ofsubmit
in this case.