title: How to create Restful api for mobile app in laravel 5.2
body: <p>I'm creating an api for a mobile app in laravel version 5.2, but I don't have any idea how to return exception in JSON format. I've been doing api development and tested using chrome postman. </p>
  
  <p>Please help me how can I start with laravel 5.2? </p>
  
  <p>I can't understand how to set error response in laravel 5.2.
  I've already tried below plugin, but still didn't succeed:</p>
  
  <ol>
  <li>json-api with laravel,</li>
  <li>dingo/api, it's work with laravel 4</li>
  </ol>
  
  <p>How can we do authentication in laravel 5.2 from mobile app?</p>
  
  <p>Something good references and video link so I can learn and development in laravel 5.2 very friendly.</p>