Closed Tahiaji closed 2 months ago
We can't just replace json('GET' to getJson(. Only if no $data passed.
json('GET'
getJson(
$data
There are different signatures and getJson does not support any params ($data)
public function json($method, $uri, array $data = [], array $headers = [], $options = 0); public function getJson($uri, array $headers = [], $options = 0);
We can't just replace
json('GET'
togetJson(
. Only if no$data
passed.There are different signatures and getJson does not support any params ($data)