def METHOD_NAME(apigw_rest_endpoint):
    # GIVEN
    url = f"{apigw_rest_endpoint}todos"
    headers = {"Origin": "https://dev.example.org"}
    # WHEN
    response = data_fetcher.get_http_response(
        Request(
            method="POST",
            url=url,
            headers=headers,
            json={},
        ),
    )
    # THEN response has CORS headers
    assert response.headers["Access-Control-Allow-Origin"] == "https://dev.example.org"