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%2Fjson.freeastrologyapi.com%2Fnavamsa-chart-info
These are the response headers received when making the request.
access-control-allow-headers: Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token
access-control-allow-methods: OPTIONS,POST
access-control-allow-origin: *
cf-cache-status: DYNAMIC
cf-ray: 95d2271166d1e98e-ORD
connection: keep-alive
content-length: 23
content-type: application/json
date: Thu, 10 Jul 2025 18:34:00 GMT
server: cloudflare
x-amz-apigw-id: NgYfzHMTBcwEJtQ=
x-amzn-errortype: ForbiddenException
x-amzn-requestid: c3ccb351-3f1a-49c8-aa2f-3a30b4c84353
CORS tester was built by @mscccc. The code is available on GitHub. Sponsored by HTML/CSS to Image.