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: 9e99acd11b74fad4-CMH
content-length: 23
content-type: application/json
date: Thu, 09 Apr 2026 12:57:01 GMT
server: cloudflare
x-amz-apigw-id: bjZEnEPahcwEBmA=
x-amzn-errortype: ForbiddenException
x-amzn-requestid: 26235bc2-b71d-41d0-ba8d-275052e6fd36
CORS tester was built by @mscccc. The code is available on GitHub. Sponsored by HTML/CSS to Image.