title: Issue with DELETE method- PHP slim framework
body: <p>I have issue with DELETE method. Below is the code, where i am getting <code>404 error</code> for DELETE method. If i use <code>get</code> method instead of <code>delete</code>,  code executing properly. Please help me where i went wrong. </p>
  
  <pre><code>&lt;?php
  require "Slim/Slim.php";
  require "NotORM/NotORM.php";
  \Slim\Slim::registerAutoloader();
  $app = new \Slim\Slim();
  
  $pdo = new PDO('mysql:host=localhost;dbname=rest_trial', 'uname', 'passwd');
  $db = new NotORM($pdo);
  
  //DELETE method
  $app-&gt;delete("/deletebook/:id", function ($id) use($app, $db) {
  //$app-&gt;get("/deletebook/:id", function ($id) use($app, $db) {
  $app-&gt;response()-&gt;header("Content-Type", "application/json");
  $book = $db-&gt;books()-&gt;where("id", $id);
  if ($book-&gt;fetch()) {
      $result = $book-&gt;delete();
      echo "Book deleted successfully";
  }
  else{
      echo "Book id $id does not exist";
  }
  });
  $app-&gt;run();
  </code></pre>