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: a03c200408ffe88e-CMH
content-length: 23
content-type: application/json
date: Sat, 30 May 2026 07:46:27 GMT
server: cloudflare
x-amz-apigw-id: eKxZEGldBcwEBvQ=
x-amzn-errortype: ForbiddenException
x-amzn-requestid: 39615052-8bf2-4832-9b90-62930c1139aa
CORS tester was built by @mscccc. The code is available on GitHub. Sponsored by HTML/CSS to Image.