title: Laravel route works perfectly locally but not on remote. (Dingo Api)
body: <p>I am using dingo/api for a project and all of my routes work other than 1. </p>
  
  <p>routes.php</p>
  
  <pre><code>    $api = app('api.router');
      $api-&gt;version('v1',['prefix' =&gt; 'api'], function ($api) {
  
          $api-&gt;post('users', "App\Http\Controllers\Auth\UsersController@store");
  ...
          });
  </code></pre>
  
  <p>store method : </p>
  
  <pre><code>/**
       *
       * @param  \App\Http\Requests\Auth\StoreUserRequest  $request
       * @return \Illuminate\Http\Response
       */
      public function store(StoreUserRequest $request)
      {
          if( ! $this-&gt;isAdminRequest() )
          {
              return $this-&gt;dispatch(new RegisterUserCommand($request));
          }
      }
  </code></pre>
  
  <p>This route throws <code>405 Method Not Allowed Exception</code>. </p>
  
  <p><code>php artisan api:routes</code> shows that it is registered, both locally and on server.
  I am using POSTMAN to test my api and have all required fields.
  In response I do get <strong>Allow : POST</strong>.</p>
  
  <p><strong>NOTE :</strong> </p>
  
  <ul>
  <li>There are other post routes that work perfectly. </li>
  <li>There are other
  UsersController routes that work perfectly</li>
  <li>I have tried removing all other routes and with just this, it still does not work.</li>
  </ul>
  
  <p><strong>Any help is appreciated. Thanks.</strong></p>
  
  <p><strong>UPDATE :</strong></p>
  
  <p>Okay, it was a really silly mistake on my part. I was hitting <strong>'domain/api/users/'</strong>. Removing the trailing <strong>'/'</strong> worked. 
  But the thing is, locally <strong>'/'</strong> works and not on server. 
  So keeping this question on for some explanantion maybe.</p>