Return HTTP json response properly in laravel