Updated examples with new filters

This commit is contained in:
Maurits van der Schee 2015-03-20 18:42:44 +01:00
commit 52e0ee3750
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ function call($method, $url, $data = false) {
return curl_exec($ch);
}
$response = call('GET','http://localhost/blog.php/posts,categories,tags,comments?filter=id:1');
$response = call('GET','http://localhost/blog.php/posts,categories,tags,comments?filter=id,eq,1');
$jsonObject = json_decode($response,true);
$jsonObject = mysql_crud_api_transform($jsonObject);