Response is an object with lots of other stuff, like HTTP data. You want to take the payload out before decoding.
json_decode($response->getContent())
Thank you austindebruyn - you are a genius!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community