Use this little website to test if a URL is setup correctly to work with CORS.
Shareable link: https://cors-test.codehappy.dev/?method=get&origin=https%3A%2F%2Fchatgpt.com&url=https%3A%2F%2Fcdn.oaistatic.com
These are the response headers received when making the request.
access-control-allow-origin: *
access-control-expose-headers: content-length
cache-control: public, max-age=2592000
cf-cache-status: EXPIRED
cf-ray: 9723e7a665f1e8fc-LHR
connection: keep-alive
content-length: 223
content-type: application/xml
date: Wed, 20 Aug 2025 18:20:29 GMT
expires: Fri, 19 Sep 2025 18:20:29 GMT
server: cloudflare
set-cookie: __cf_bm=3wxUyHNRg28ykW6U0hZpujpsKMfChzmqLqBU8QqhKIY-1755714029-1.0.1.1-OFmOz7eJk48HkbEGnW1YZzu0Ivyxuar.QyvoCozAYwUavbuG3G6qrgACfK5ARAvG_f7C79F3BLVPHG3K1P4prfIlhdbFr9A4rMIrth2LxhQ; path=/; expires=Wed, 20-Aug-25 18:50:29 GMT; domain=.oaistatic.com; HttpOnly; Secure, _cfuvid=MWWGi1IDOjlG8fN_bhYf7xmeOk.KCCVTMTORkpqXpcQ-1755714029040-0.0.1.1-604800000; path=/; domain=.oaistatic.com; HttpOnly; Secure; SameSite=None
strict-transport-security: max-age=31536000; includeSubDomains; preload
timing-allow-origin: https://chatgpt.com
x-content-type-options: nosniff
x-ms-request-id: 6436f2e5-401e-00bc-57ff-11977e000000
CORS tester was built by @mscccc. The code is available on GitHub. Sponsored by HTML/CSS to Image.