Added charset utf8
This commit is contained in:
parent
3fe5e5bc43
commit
7d5fe3fdf5
4 changed files with 10 additions and 4 deletions
|
|
@ -16,8 +16,9 @@ function call($method, $url, $data = false) {
|
|||
return curl_exec($ch);
|
||||
}
|
||||
|
||||
$response = call('GET','http://localhost/api.php/posts,categories,tags,comments?filter=id:1');
|
||||
$response = call('GET','http://leaseweb_pdb.dev/blog.php/posts,categories,tags,comments?filter=id:1');
|
||||
$jsonObject = json_decode($response,true);
|
||||
|
||||
$jsonObject = mysql_crud_api_transform($jsonObject);
|
||||
$output = json_encode($jsonObject,JSON_PRETTY_PRINT);
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue