title: Why laravel passport api accept request without having headers?
body: <p>I am using laravel passport for API's. When I build api's I can post request to laravel through postman software and I figure out that laravel responding to API's without having headers. </p>
  
  <p>I mean it does not matter that I am sending headers or no, API's always responding. </p>
  
  <p>So is this right thing or I am missing something?</p>
  
  <p>Can someone kindly guide me about it, I would like to appreciate. </p>
  
  <p>Thank you so much</p>
  
  <p>As per @codeForMoney comments I am adding my route script</p>
  
  <pre><code>Route::middleware('auth:api')-&gt;get('/user', function (Request $request) {
      return $request-&gt;user();
  });
  
  Route::group([
  
      'prefix' =&gt; 'auth'
  
  ], function () {
  
      Route::post('login', 'AuthController@login');
  
      Route::group([
  
          'middleware' =&gt; 'auth:api'
  
      ], function() {
  
          Route::get('user', 'AuthController@user');
      });
  });
  </code></pre>