title: How to send data to routes use get method on the vue.js 2?
body: <p>My ajax is like this :</p>
  
  <pre><code>&lt;script&gt;
      new Vue({
          ...
          methods: {
              fetchItems: function (page) {
                  var data = {page: page};
                  this.$http.get('api/items', data).then(function (response) {
                      console.log(JSON.stringify(response))
                      this.$set(this, 'items', response.data.data.data);
                      this.$set(this, 'pagination', response.data.pagination);
                  }, function (error) {
                      // handle error
                  });
              },
              ...
          }
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>My routes is like this :</p>
  
  <pre><code>Route::get('/api/items/', function () {
      dd(Input::get('page'));
      $results =  \App\Post::latest()-&gt;paginate(7);
  
      $response = [
          'pagination' =&gt; [
              'total' =&gt; $results-&gt;total(),
              'per_page' =&gt; $results-&gt;perPage(),
              'current_page' =&gt; $results-&gt;currentPage(),
              'last_page' =&gt; $results-&gt;lastPage(),
              'from' =&gt; $results-&gt;firstItem(),
              'to' =&gt; $results-&gt;lastItem()
          ],
          'data' =&gt; $results
      ];
  
      return $response;
  });
  </code></pre>
  
  <p>When executed, I check on the console, the result = null, whereas I had put this : <code>dd(Input::get('page'));</code></p>
  
  <p>Should it display page who sended</p>
  
  <p>How can I solve it?</p>