Discussions

Ask a Question
Back to All

Guzzle http response for php

Guzzle http response for php should return

$res = $response->getBody()->getContents();

print_r(json_decode($res));

// or dd(json_decode($res)); for laravel