title: How to redirect to a POST route in Laravel
body: <p>In my controller, I have a method which should redirect to a <code>POST</code> route. I can not make this route a <code>GET</code> one either. Is there any solutions?</p>
  
  <p>My controller code looks like:</p>
  
  <pre><code>// After a bunch of other if statements, etc
  return redirect('newUser')-&gt;with('user', $user);
  </code></pre>
  
  <p>Now my route (in web.php) is as follows:</p>
  
  <pre><code>Route::post('/newUser', function() {
      $user=session('user');
      dd($user);
      return view('profileNewUser', $user);
  });
  </code></pre>
  
  <p>The error which is thrown at me is <code>MethodNotAllowedHTTPException</code>. </p>
  
  <p>I know my error is something to do with the <code>_token</code>, is there anyway I can allow the token field to get passed on? I tried passing it in with the <code>with</code> in my redirect but that doesn't work either.</p>
  
  <p>Thanks for your help.</p>