title: Dingo API Internal Post Requests not working with Laravel 5.2
body: <p>I am running into an issue with internal post requests using latest Laravel 5.2 and Dingo dev/master (commit 904d4e4e). Get requests work fine, but I keep getting a 'missing argument 1' error exception when I attempt any post request from anywhere (routes.php, and controllers). </p>
  
  <p>My App Controllers all extend my Base Controller, which is set up as follows:</p>
  
  <pre><code>use Dingo\Api\Dispatcher;
  use Dingo\Api\Routing\Helpers;
  use Illuminate\Http\Request;
  
  class BaseController extends Controller
  {
      use Helpers;
  
      public $dispatcher;
  
      public function __construct(Dispatcher $dispatcher)
      {
          $this-&gt;dispatcher = $dispatcher;
      }
  
      // My global functions (irrelevant)...
  }
  </code></pre>
  
  <p>Example of admin subdomain 'modelExample' controller:</p>
  
  <pre><code>namespace App\Http\Controllers\Admin;
  
  use App\Http\Requests;
  use App\ModelExample;
  use Dingo\Api\Dispatcher;
  use App\Http\Controllers\BaseController;
  
  class AdminModelExampleController extends BaseController
  {
  
      public function __construct(Dispatcher $dispatcher)
      {
          parent::__construct($dispatcher);
      }
  
      /**
       * Display a listing of ModelExamples.
       *
       * @return \Illuminate\Http\Response
       */
      public function index()
      {
          $modelExamples = $this-&gt;dispatcher-&gt;get('model-example');
  
          return view('admin.model-examples.index')-&gt;with(['model_examples' =&gt; $modelExamples]);
      }
  
      /**
       * Store a newly created ModelExample in the DB.
       *
       * @param $request
       * @return array
       */
      public function store($request)
      {
          $data = $request-&gt;all();
  
          $modelExample = $this-&gt;dispatcher-&gt;post('model-example', $data);
  
          return $modelExample;
      }
  
  }
  </code></pre>
  
  <p>Example of 'modelExample' API controller:</p>
  
  <pre><code>namespace App\Api\Controllers;
  
  use App\Http\Requests;
  use App\ModelExample;
  use Illuminate\Http\Request;
  use App\Http\Controllers\BaseController;
  
  class ApiAddMediaMethodController extends BaseController
  {
  
      /**
       * Return all ModelExamples.
       *
       * @return \Illuminate\Database\Eloquent\Collection|static[]
       */
      public function index()
      {
          return ModelExample::all();
      }
  
      /**
       * Store a newly created ModelExample in the DB.
       *
       * @param $request
       * @return array
       */
      public function store($request)
      {
          // I would obviously do stuff here, but for testing purposes, we'll just return...
  
          return $request;
      }
  }
  </code></pre>
  
  <p>My routes.php</p>
  
  <pre><code>/*
  |--------------------------------------------------------------------------
  | Dingo generated router for API Routes
  |--------------------------------------------------------------------------
  */
  $api = app('Dingo\Api\Routing\Router');
  $dispatcher = app('Dingo\Api\Dispatcher');
  
  $api-&gt;version('v1', function ($api) {
  
      // Set the namespace for the API_v1-specific route controllers
      $api-&gt;group(['namespace' =&gt; 'App\Api\Controllers'], function ($api) {
  
          //Model Example routes
          $api-&gt;get('model-example', [
              'as' =&gt; 'model-example.get',
              'uses' =&gt; 'ApiModelExampleController@index'
          ]);
  
          $api-&gt;post('model-example', [
              'as' =&gt; 'model-example.post',
              'uses' =&gt; 'ApiModelExampleController@store'
          ]);
      });
  });
  
  /*
  |--------------------------------------------------------------------------
  | Application (non-API) Web Routes
  |--------------------------------------------------------------------------
  */
  Route::group(['middleware' =&gt; 'web'], function () {
  
      // Bunch of regular web app routes (irrelevant)
  
      /*
      |--------------------------------------------------------------------------
      | ADMIN Subdomain Routes
      |--------------------------------------------------------------------------
      */
      Route::group(['domain' =&gt; 'admin' . env('SESSION_DOMAIN')], function () {
          // Set the namespace for the Admin Subdomain route controllers
          Route::group(['namespace' =&gt; 'Admin'], function () {
  
              Route::group(['middleware' =&gt; 'admin'], function(){
                  // Model Example routes
                  Route::resource('model-example', 'AdminModelExampleController');
              }
  
          }
      }
  }
  </code></pre>
  
  <p>No matter what I use in the store method on the Admin Controller, I get the following error:</p>
  
  <p><code>Missing argument 1 for App\Api\Controllers\ApiModelExampleController::store()</code></p>
  
  <p>I have tried:</p>
  
  <pre><code>$modelExample = $this-&gt;dispatcher-&gt;with($data)-&gt;post('model-example');
  $modelExample = $this-&gt;dispatcher-&gt;post('model-example', ['hard' =&gt; 'coded', 'just' =&gt; 'in case']);
  $modelExample = $this-&gt;api-&gt;post('model-example', $data);
  $modelExample = $this-&gt;api-&gt;with($data)-&gt;post('model-example');
  $modelExample = $this-&gt;api-&gt;post('model-example', ['hard' =&gt; 'coded', 'just' =&gt; 'in case']);
  </code></pre>
  
  <p>I have also tried directly from the routes file with test endpoints, I have turned off all middleware... no matter what I do, the payload array is not being recognized.</p>
  
  <p>Is this a Laravel 5.2 vs 5.1 issue? Am I missing something completely obvious (been known to happen ...often)? How can I resolve this? Much thanks in advance! :-)</p>