my code is
<?php
$url = 'http://api.backendless.com/v1/data/Users?props=ownerId';
$headers = array(
'Content-Type : application/json',
'application-id : BA93FD40-F603-26A3-FFEF-946A06DCD600',
'secret-key : 1BB80B41-E60E-B999-FF6E-D2023400CD00'
);
// Open connection
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// Execute request
$result = curl_exec($ch);
// Close connection
curl_close($ch);
print_r(json_decode($result,true));
?>
This code is as it exported from REST console
My output is [See attachment]