1
As @BrockAdams said, the string is compressed and need to be uncompress depending on the $request->headers.
$request = drupal_http_request('https://api.stackexchange.com/2.2/users?order=desc&sort=reputation&site=stackoverflow');
if (isset($request->headers['content-encoding'])) {
if ($request->headers['content-encoding'] == 'gzip') {
...
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
missing-data × 5bug × 3
stackauth × 2
associated × 2
support × 1
api × 1
status-completed × 1
feature-request × 1
api-v2.2 × 1
questions × 1
status-bydesign × 1
status-deferred × 1
area51 × 1