commit 1c5fcb28739e5292cd1f5f37ab71c36350dc8093 parent 2542209da2107cce59f08d07cc49c3cdaa3237cd Author: MTRNord <mtrnord1@gmail.com> Date: Wed, 18 Mar 2015 21:15:10 +0100 so much debug code Diffstat:
| M | core/api/v1/api.php | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/core/api/v1/api.php b/core/api/v1/api.php @@ -151,6 +151,8 @@ $app->get('/posts/:id', function($post_id) { $response = array(); $db = new DbHandler(); + echo "$post_id"; + // fetch task $result = $db->getPosts($post_id); var_dump($result);