title: Advantage to using route method spoofing in Laravel?
body: <p>Just learning Laravel and found that in Laravel's quick start guide, they suggest for a "delete" request, you can spoof the method as if it is "delete" rather than GET or POST by doing this:</p>
  
  <p><code>{{ method_field('DELETE') }}</code></p>
  
  <p>Which generates this html:</p>
  
  <pre><code>&lt;input type="hidden" name="_method" value="DELETE"&gt;
  </code></pre>
  
  <p>And in Laravel back end let's you use the router like this:</p>
  
  <pre><code>Route::delete('/task/{task}', function (Task $task) {
      // do something here
  });
  </code></pre>
  
  <p>But the question is, why do that when I can just set the action of the form to '/task/delete' and use this in the back end:</p>
  
  <pre><code>Route::post('/task/delete/{task}', function (Task $task) {
      // do something here
  });
  </code></pre>
  
  <p>No magic 'spoofing' and more consistent, so any reason to spoof?</p>