How to enable Alfresco CORS?

Keywords: Alfresco - Windows - How to - Secure Connections (SSL/HTTPS)
Description:
I have a new VM about Alfresco(installed via bitnami window installer), I want to using it’s API from my application.
I tried through postman and it’s working, but if I tried it through jQuery, have error: …has been blocked by CORS policy…

I tried this: https://docs.alfresco.com/content-services/latest/config/repository/#cors-configuration
but can not work.

Hi @ganbingjie,

Could you please let us know more information about how to reproduce this error?

  • The changes you made in the application to use the API
  • The command you are running when getting the CORS error
  • Any other relevant information that we need to take into account.

Thanks