Skip to main content
1 of 2

On getBody(), I needed to run getContents(), like:

echo $response->getBody()->getContents()
// {"access_token":"sdoginGDpng3pnGPNGDDGGDP))","expires":86399}