CORS error coming on N1QL port 8093

Hi,

I am using N1QL REST on 8093 port, but im getting CROS error while im parsing by using JQuery. Please assist me on this issue.

Are you attempting to run N1QL queries directly from a client-side web application? I don’t know if there is a way to disable CORS, but that seems like it could be a major security risk. Have you thought about creating a web service (with Express.JS, Spring, WebAPI, etc) that makes the N1QL calls. And then your web application would make calls to that API instead?