title: Laravel return text/html and not json?
body: <p>I have this in response headers:  </p>
  
  <pre><code>Response headers (165 B)    
      Host    
      "localhost:8000"
      [Learn More]
      Connection  
      "close"
      [Learn More]
      Content-Type    
      "text/html; charset=UTF-8"
      [Learn More]
      Date    
      "Thu, 16 Mar 2017 14:33:53 GMT"
      [Learn More]
      Transfer-Encoding   
      "chunked"
  </code></pre>
  
  <p>My  controller is quite simple:</p>
  
  <pre><code>public function login(Request $request){
  
        return response()-&gt;json([
          'name' =&gt; 'Abigail',
          'state' =&gt; 'CA'
          ]);
      }
  </code></pre>
  
  <p>Im using angular for post.</p>