Use this little website to test if a URL is setup correctly to work with CORS.
Shareable link: https://cors-test.codehappy.dev/?url=http%3A%2F%2Fafamaidshist.fiu.edu%2Fomeka-s%2Fapi%2Fitems&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.
cf-cache-status: DYNAMIC
cf-ray: 86b7cd5f3348823e-IAD
connection: keep-alive
content-type: application/json; charset=utf-8
date: Thu, 28 Mar 2024 13:00:17 GMT
link: ; rel="first", ; rel="next", ; rel="last"
omeka-s-version: 1.3.0
server: cloudflare
transfer-encoding: chunked
x-powered-by: PHP/7.1.4
CORS tester was built by @mscccc. The code is available on GitHub. Sponsored by HTML/CSS to Image.