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%2Fshiftmate-backend.onrender.com%2Fapi%2Fbusiness%2Flogin&origin=https%3A%2F%2Fshiftmate-frontend.vercel.app%2F&method=get
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.
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.
These are the response headers received when making the request.
alt-svc: h3=":443"; ma=86400
cf-cache-status: DYNAMIC
cf-ray: 90fc9fd942a1d46e-IAD
connection: keep-alive
content-type: text/html; charset=utf-8
date: Mon, 10 Feb 2025 14:00:15 GMT
server: cloudflare
transfer-encoding: chunked
vary: Accept-Encoding
x-render-routing: suspend
CORS tester was built by @mscccc. The code is available on GitHub. Sponsored by HTML/CSS to Image.