continuosdi2023 opened a new issue, #3005: URL: https://github.com/apache/hop/issues/3005
### What would you like to happen? I'm using web services in apache hop 2.3.0(running in localhost:8182) and I need to call some endpoints from my angular app(running in localhost:4200), but I have problems with CORS in the browser and I don`t know where I have to enable cors... please help me! Error in browser(Chrome): Access to XMLHttpRequest at 'http://localhost:8182/hop/webService/?service=wsGetInstance' from origin 'http://localhost:4200/' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. I tried run hop server local and the app in local but I have the same issue. Same using docker: hop-server: image: apache/hop:2.3.0-SNAPSHOT container_name: cdi_server environment: - HOP_SERVER_USER=admin - HOP_SERVER_PASS=admin - HOP_SERVER_PORT=8182 - HOP_SERVER_HOSTNAME=0.0.0.0 - HOP_PROJECT_NAME=ContinuosDI - HOP_PROJECT_FOLDER=/files - HOP_ENVIRONMENT_NAME=docker - HOP_ENVIRONMENT_CONFIG_FILE_NAME_PATHS=/files/docker-config.json - HOP_SERVER_METADATA_FOLDER=/files/metadata volumes: - C:/apache-hop-client-2.3.0/hop/config/projects/cdi:/files ports: - 8182:8182 ### Issue Priority Priority: 3 ### Issue Component Component: Hop Config -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
