Use this little website to test if a URL is setup correctly to work with CORS.
Shareable link: https://cors-test.codehappy.dev/?method=post&origin=https%3A%2F%2Fcors-test.codehappy.dev%2F&url=https%3A%2F%2Fmicro.blog%2Faccount%2Fverify
These are the response headers received when making the request.
access-control-allow-headers: Authorization, Origin, X-Requested-With, Content-Type, Accept
access-control-allow-methods: POST, GET, OPTIONS, DELETE
access-control-allow-origin: *
cf-cache-status: DYNAMIC
cf-ray: 91fdea6bb429d09f-CDG
connection: keep-alive
content-length: 36
content-type: application/json
date: Thu, 13 Mar 2025 19:25:10 GMT
server: cloudflare
CORS tester was built by @mscccc. The code is available on GitHub. Sponsored by HTML/CSS to Image.