title: Laravel: How to set & fetch custom header while redirecting to get method route url
body: <p>I am using Laravel 5.3 and trying to redirect to a url with custom headers. But some how I am not getting the header value in redirected page or we can say header value is not getting sent while redirecting.</p>
  
  <p>I am using this code:</p>
  
  <pre><code>return redirect()-&gt;route('frontend.seller.signup')-&gt;header('referal_code', $referal_code);
  </code></pre>
  
  <p>and For fetch Header value I use below code but I not recieve header value</p>
  
  <pre><code>$referal_code = Request::header('referal_code');
  </code></pre>
  
  <p>Please let me know if I'm doing something wrong.</p>