Answers for "guzzle parse json response"

PHP
0

php convert guzzle response to json

$response = GuzzleHttpget('http://httpbin.org/get');
if ($response->getBody()) {
    echo $response->getBody();
    // JSON string: { ... }
}
Posted by: Guest on August-12-2020

Browse Popular Code Answers by Language