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
When using a proxy, there is more than one newline in header. So the splitting into header and response is wrong and thus decode_response() does not work.
My workaround for json is $json_response = json_decode(strstr($api->response,'{')).
When using a proxy, there is more than one newline in header. So the splitting into header and response is wrong and thus
decode_response()
does not work.My workaround for json is
$json_response = json_decode(strstr($api->response,'{'))
.Full response:
php-restclient splitted response:
header:
response:
Correct splitted response:
header:
response:
The text was updated successfully, but these errors were encountered: