'text/html; charset=utf-8', ])->withBody($html, 'text/html')->post(env('HTML5_VALIDATOR_URL') . '/?out=json'); $json = $response->json(); return $json; } }