thrownewBadRequestHttpException("Form requests must include a Apollo-Require-Preflight HTTP header or the Origin HTTP header value needs to be in the allowedOrigins in the CORS settings.");
}
thrownewBadRequestHttpException("The content type '$content_type' is not supported.");
$this->assertSame("Form requests must include a Apollo-Require-Preflight HTTP header or the Origin HTTP header value needs to be in the allowedOrigins in the CORS settings.",$result->message);
}
/**
* Test that the JSON content types always work, cannot be forged with CSRF.