blob: c02093f2fa3dfad0f9c60e47b4ca069cb2cc7931 [file] [log] [blame]
<?php
$request_origin_value = $_SERVER["HTTP_ORIGIN"];
if (!is_null($request_origin_value)) {
header("Access-Control-Allow-Origin: $request_origin_value");
header("Access-Control-Allow-Credentials: true");
header("Access-Control-Allow-Methods: GET,POST,OPTIONS");
}
echo json_encode($_POST);
?>