title: Laravel 5.8 POST request always throws welcome page
body: <p>I'm trying to test my API using postman, but when I hit the <code>POST</code> request, it's always throws me to the welcome page. I already set the XSRF token inside but still not working.</p>
  
  <p>This is my <code>api.php</code> routes:</p>
  
  <pre><code>Route::middleware('auth:api')-&gt;get('/user', function (Request $request) {
      return $request-&gt;user();
  });
  Route::resource('products/{product}/feedbacks', 'FeedbackController');
  </code></pre>
  
  <p>This is my store method from <code>FeedbackController</code>:</p>
  
  <pre><code>/**
   * Store a newly created resource in storage.
   *
   * @param  \App\Http\Requests\StoreFeedback  $request
   * @return \Illuminate\Http\Response
   */
  public function store(Product $product, StoreFeedback $request)
  {
     $product-&gt;addFeedback(
        $request-&gt;validated()
     );
  
     return response()-&gt;json([
        "status" =&gt; "success",
        "message" =&gt; "Your feedback has been submitted."
     ], 200);
  }
  </code></pre>
  
  <p>Here is my <code>web.php</code> file:</p>
  
  <pre><code>
  Route::get('/', function () {
      return view('welcome');
  });
  
  Auth::routes();
  
  Route::get('/home', 'HomeController@index')-&gt;name('home');
  
  Route::resource('product-categories', 'ProductCategoryController')-&gt;parameters([
      'product_category' =&gt; 'productCategory'
  ]);
  
  Route::resource('product-sub-categories', 'ProductSubCategoryController')-&gt;parameters([
      'product_sub_category' =&gt; 'productCategory'
  ]);
  </code></pre>
  
  <p>And here is the screenshot of my postman request: <a href="https://imgur.com/a/28gISxC" rel="nofollow noreferrer">Link to the screenshot</a></p>