chromium/third_party/blink/web_tests/http/tests/credentialmanagement/resources/echo-post.php

<?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);
?>