1,'category_id'=>1,'content'=>'from php'); call('POST', 'http://localhost/api.php/posts',json_encode($object)); ?>