The `getBody` method in the PHP Guzzle HTTP Message `RequestInterface` retrieves the body of the request message. It returns the content of the request body as a string. This method is used to access the data being sent in a request, such as form parameters or JSON payloads, allowing developers to analyze or manipulate the request body as needed.
PHP Guzzle\Http\Message RequestInterface::getBody - 30 examples found. These are the top rated real world PHP examples of Guzzle\Http\Message\RequestInterface::getBody extracted from open source projects. You can rate examples to help us improve the quality of examples.