Use this little website to test if a URL is setup correctly to work with CORS.
Shareable link: https://cors-test.codehappy.dev/?url=https%3A%2F%2Fg1.duniter.org&origin=https%3A%2F%2Fcors-test.codehappy.dev%2F&method=post
These are the response headers received when making the request.
access-control-allow-origin: *
cf-cache-status: DYNAMIC
cf-ray: 87d4ef24a44b2231-ORD
connection: keep-alive
content-security-policy: default-src 'none'
content-type: text/html; charset=utf-8
date: Thu, 02 May 2024 03:30:42 GMT
server: cloudflare
transfer-encoding: chunked
x-content-type-options: nosniff
x-powered-by: Express
CORS tester was built by @mscccc. The code is available on GitHub. Sponsored by HTML/CSS to Image.