title: How get JSON from Laravel 5.1
body: <p>I'm developing an application with Laravel 5.1 and I try to get information from json but i can't, i have the next code:</p>
  
  <p>Routes:</p>
  
  <pre><code>Route::get('toys','ToyController@listing');
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>    public function listing(){
        $toys = Toy::all();
        return response()-&gt;json([
           "toys" =&gt; $toys-&gt;toArray()
        ]);
      }
  </code></pre>
  
  <p>Petition get:</p>
  
  <pre><code>    &lt;script&gt;
          $(document).ready(function(){
  
          $.getJSON("http://localhost:8000/toys", function(data){
  
          });
      });
      &lt;/script&gt;
  </code></pre>
  
  <p>And i can see the data into the console:
   <img src="https://i.stack.imgur.com/socgg.png" alt=""> </p>
  
  <p>but how can show the info into HTML? thanks</p>