Feature request from navarr, posted on GitHub Jul 21, 2016
Steps to reproduce
Install Magento from develop branch.
Begin writing code that interacts with an API that takes, for example, JSON as the body request
Investigate the \Magento\Framework\HTTP\ClientInterface to see how to send this body within the Magento framework
Expected result
post method, or another method allows the sending of raw json or other raw data to the server
Actual result
No such functionality exists, making it impossible to send raw data over the HTTP ClientInterface
As a potential fix, I've opened Pull Request #5407. This enables the post method to send raw data as well as the previously accepted array of data.
... View more