cancel
Showing results for 
Search instead for 
Did you mean: 

Tutorial: How to fix CORS for Alfresco API Explorer

varinas662
Champ in-the-making
Champ in-the-making

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

0 REPLIES 0