title: laravel 8 , How to display data from a FORM with post method?
body: <p><strong>my Route :</strong></p>
  <pre><code>Route::resource('/posts',PostsControllerWithAll::class);
  </code></pre>
  <p><strong>my form :</strong>
  i try to read the given data from this form</p>
  <pre><code>&lt;form method=&quot;POST&quot; action=&quot;{{ action('PostsControllerWithAll@store') }}&quot;&gt;
   @csrf
     &lt;input type=&quot;text&quot; name=&quot;title&quot; placeholder=&quot;enter title&quot;&gt;
     &lt;input type=&quot;submit&quot; name=&quot;submit&quot;&gt;
  &lt;/form&gt;
  </code></pre>
  <p><strong>my controller :</strong></p>
  <pre><code>public function create()
  {
      return view(&quot;posts.create&quot;);
  
  }
  
  public function store(Request $request)
     {
          return $request-&gt;all();
     }
  </code></pre>
  <p><strong>and this is my route list</strong></p>
  <p><a href="https://i.stack.imgur.com/4bRf8.png" rel="nofollow noreferrer">route list image , please check the link image</a></p>