title: Laravel my post method (store) form not working
body: <h2>PostsController.php</h2>
  
  <pre><code> public function store(Request $request)
      {
   Post::create($request-&gt;all());
   return redirect('/posts');
  }
  </code></pre>
  
  <h2>my view create.blade.php in posts directory</h2>
  
  <pre><code>@extends('layout.app')
  
  
  
  @section('content')
  
      &lt;h1&gt;Create Post&lt;/h1&gt;
  
      &lt;form action="/posts" method="post"&gt;
  
          &lt;input type="text" name="title" placeholder="Enter title"&gt; &lt;!-- this name=title comes from create_posts_table --&gt;
          {{--{{csrf_field()}}--}}
          &lt;input type="submit" name="submit"&gt;
  
      &lt;/form&gt;
  
  @stop
  </code></pre>
  
  <h2>Route</h2>
  
  <pre><code>Route::resource('/posts','PostsController');
  </code></pre>
  
  <p>when I submit browser goes to localhost/posts and it says:</p>
  
  <pre><code>Object not found!
  The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
  
  If you think this is a server error, please contact the webmaster.
  
  Error 404
  localhost
  Apache/2.4.33 (Win32) OpenSSL/1.1.0h PHP/7.2.5
  </code></pre>
  
  <hr>
  
  <p>and no record wont save</p>