CORS Tester

Use this little website to test if a URL is setup correctly to work with CORS.




If your CORS setup is not using a wildcard then this should be a domain that matches your AllowedOrigins


Shareable link:

Results

This URL will not work correctly with CORS.

What's wrong?

It does not have the access-control-allow-origin header set to *. Without this header, requests from other domains cannot be made to it via a users browser.

How to fix it?

If you have access to the server for the URL, you'll need to modify it to add the access-control-allow-origin header. If you do not have access, you'll need to upload the file somewhere else.

Headers

These are the response headers received when making the request.

cf-cache-status: DYNAMIC
cf-ray: 879d60a903ea2d6d-ORD
connection: keep-alive
content-length: 61
content-type: text/plain; charset=utf-8
date: Thu, 25 Apr 2024 09:41:29 GMT
server: cloudflare
  

CORS tester was built by @mscccc. The code is available on GitHub. Sponsored by HTML/CSS to Image.