title: How to use Delete in Laravel API Route
body: <p>I use Laravel as Backend and generate API by JSON and the i use php to get json data and delete data by route api in laravel but it's seem to be not working.
  My API Route in laravel</p>
  
  <pre><code>Route::delete('articles/{article}', 'ArticleController@delete');
  </code></pre>
  
  <p>My Controller</p>
  
  <pre><code>public function delete(Article $article)
  {
      $article-&gt;delete();
      return response()-&gt;json(null);
  }
  </code></pre>
  
  <p>My API URL</p>
  
  <pre><code>http://192.168.0.21/api/articles/id
  </code></pre>
  
  <p>My PHP frontend Code for delete</p>
  
  <pre><code>$json = file_get_contents('http://192.168.0.21/api/articles/' . $id);
  $json_data = json_decode($json, true);
  unset($json_data['id']);
  </code></pre>
  
  <p>Any solution for these?</p>