private function respondOnOptionsRequest(int $httpResponseCode): void
    {
        http_response_code($httpResponseCode);
        header('Content-Type: application/json');
        header('Access-Control-Allow-Origin: *');
        header('Access-Control-Allow-Headers: *');
        exit;
    }
private function respondOnOptionsRequest(int $httpResponseCode): void
    {
        http_response_code($httpResponseCode);
        header('Content-Type: application/json');
        header('Access-Control-Allow-Origin: *');
        header('Access-Control-Allow-Headers: *');
        exit;
    }
private function respondOnOptionsRequest ( int $ httpResponseCode ) : void { http_response_code ( $ httpResponseCode ) ; header ( 'Content-Type: application/json' ) ; header ( 'Access-Control-Allow-Origin: *' ) ; header ( 'Access-Control-Allow-Headers: *' ) ; exit ; }
Send confirmation for an OPTIONS request

@param int $httpResponseCode
Send confirmation for an OPTIONS request