private function Client::invalidBody in Auth0 Single Sign On 8.2
Throw Exception with pre-set message.
Return value
void
Throws
\InvalidArgumentException Invalid body.
2 calls to Client::invalidBody()
- Client::applyOptions in vendor/
guzzlehttp/ guzzle/ src/ Client.php - Applies the array of request options to a request.
- Client::requestAsync in vendor/
guzzlehttp/ guzzle/ src/ Client.php - Create and send an asynchronous HTTP request.
File
- vendor/
guzzlehttp/ guzzle/ src/ Client.php, line 493
Class
- Client
- @method ResponseInterface get(string|UriInterface $uri, array $options = []) @method ResponseInterface head(string|UriInterface $uri, array $options = []) @method ResponseInterface put(string|UriInterface $uri, array $options = []) @method…
Namespace
GuzzleHttpCode
private function invalidBody() {
throw new \InvalidArgumentException('Passing in the "body" request ' . 'option as an array to send a POST request has been deprecated. ' . 'Please use the "form_params" request option to send a ' . 'application/x-www-form-urlencoded request, or the "multipart" ' . 'request option to send a multipart/form-data request.');
}