Hello, I’ve been trying to implement a web service in which I would only have to ‘call’ a REST API workflow by using a GET method.
I’ve done this before using postman and the swagger UI to get a successful result, but when I call it in my web-service (which incorporates a browser, I guess), I tend to get the CORS error saying that
[Request] from origin ‘http://localhost:8080’ 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.
This is the screenshot of the headers minus the authentication on postman.
Is there any advice I can get about deploying KNIME REST as a webservice?