title: Laravel '404 not found' error even after having a proper route?
body: <p>Even after having a proper route set in my <code>web.php</code>, I am getting the <code>404 not found</code> error in my Laravel application in <code>local</code> mode.</p>
  
  <p><a href="https://i.stack.imgur.com/QGxJT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QGxJT.png" alt="enter image description here"></a></p>
  
  <p>All the pages are working correctly except this one and I am getting this error with <code>POST</code> method after clicking on <code>submit</code> button on the form. Here is my <code>web.php</code> file.</p>
  
  <pre><code>Route::get('categories/create',"CategoryController@create");
  Route::post('categories',"CategoryController@store");
  </code></pre>
  
  <p><strong>UPDATE:</strong>
  My logs says:</p>
  
  <pre><code>[Wed Mar 21 16:40:22 2018] 127.0.0.1:59460 [404]: /categories - No such file or directory
  [Wed Mar 21 16:40:22 2018] 127.0.0.1:59464 [200]: /favicon.ico
  [Wed Mar 21 16:41:00 2018] 127.0.0.1:59472 [404]: /categories - No such file or directory
  [Wed Mar 21 16:41:00 2018] 127.0.0.1:59476 [200]: /favicon.ico
  [Wed Mar 21 16:41:03 2018] 127.0.0.1:59480 [200]: /favicon.ico
  [Wed Mar 21 16:41:09 2018] 127.0.0.1:59484 [404]: /categories - No such file or directory
  [Wed Mar 21 16:41:09 2018] 127.0.0.1:59488 [200]: /favicon.ico
  </code></pre>
  
  <p>Here is my View file -> <a href="https://pastebin.com/NEukzc5s" rel="nofollow noreferrer">https://pastebin.com/NEukzc5s</a></p>