Rapidminer Server Webservice - Access-Control-Allow-Origin
Hey all,
I successfully exposed a process as a webservice.
The Rapidminer Server is running locally on my machine.
I can make a request to the webservice through Postman, or the browser and get the expected result.
But only when I try to call the webservice from my angular2 website,
because of a missing 'Access-Control-Allow-Origin'.
XMLHttpRequest cannot load http://localhost:8080/api/rest/public/process/applyDT. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access.
Where within the Rapidminer Server Settings can I setup the 'Access-Control-Allow-Origin' header?
I searched everywhere and couldn't find anybody with the same problem.
Any tips would be really appreciated.
Best regards,
Long