title: How to make a delete request with Laravel
body: <p>I am not using resource controller. </p>
  
  <p>The route:</p>
  
  <pre><code>Route::delete('/deleteTag/{tag}','Controller2@deleteTag');
  </code></pre>
  
  <p>The controller function:</p>
  
  <pre><code>public function deleteTag(Tag $tag){
    $Tag = Tag::where('id', $tag-&gt;id)-&gt;get()-&gt;first();
    $Tag-&gt;delete();
    return redirect()-&gt;action('Controller2@main');
  }
  </code></pre>
  
  <p>The call:</p>
  
  <pre><code>&lt;form method="delete" action="http://***/public/deleteTag/{{$tag-&gt;id}}"&gt; 
      {!! Form::token() !!} 
      &lt;button type="submit"&gt;delete&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>The program returns a MethodNotAllowedHttpException.</p>
  
  <p>Thank you.</p>