Forum Discussion

DCL_SysAdmin's avatar
3 months ago
Solved

Is "CORS Preflight Request" supported?

Hello team, Is the CORS preflight request is supported in cato api server? When I query from browser by javascript, the preflight request was blocked by CORS policy. ーーーーー Access to XMLHttpReques...
  • peter's avatar
    3 months ago

    Hello,

    I don't believe our API endpoint supports CORS. Most clients accessing the API aren't using a web browser to do so - they're using something like Terraform or Python - so the same-origin principle doesn't really apply to them.