You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can't understand.
How can I access response->code to obtain only the code INT of the response? When I try to get it, it comes along with all the response variables.
$response = Unirest\Request::get($url, $header);
If I try to get $response->code, it comes with everything the API returned body.
The text was updated successfully, but these errors were encountered:
Can't understand.
How can I access response->code to obtain only the code INT of the response? When I try to get it, it comes along with all the response variables.
$response = Unirest\Request::get($url, $header);
If I try to get $response->code, it comes with everything the API returned body.
The text was updated successfully, but these errors were encountered: