Slim Framework 2.0.0 Unable to use ->params() with GET
问题 I'm using SLIM 2.0.0 Is it possible to use ->params() with GET? In the example below if I call it by POST: curl -d "param1=hello¶m2=world" http://localhost/foo it prints: helloworld CORRECT!! if I call it by GET: http://localhost/foo/hello/world it prints: NOTHING!! <- WRONG!! Why? <?php require 'Slim/Slim.php'; \Slim\Slim::registerAutoloader(); $app = new \Slim\Slim(); $app -> get('/foo/:param1/:param2', 'foo'); $app -> post('/foo', 'foo'); $app -> run(); function foo() { $request =