06-04-2024 06:10 AM
If you want to call API from a different host to your Alfresco API ex: from A.com to B.com/alfresco, you might experience API CORS access origin error, in that case:
1. Go to tomcat\webapps\api-explorer\WEB-INF\lib and add in:
java-property-utils-1.9.1.jar
cors-filter-2.5.jar
2. In \tomcat\webapps\alfresco\WEB-INF\web.xml, Uncomment the CORS Filter Mappings and CORS Filter sections.
3. Restart Alfresco/Tomcat
Explore our Alfresco products with the links below. Use labels to filter content by product module.