Laravel testing, get JSON content March 30, 2023 by Tarik Proper way to get the content is: $content = $this->get('/v1/users/1')->decodeResponseJson();