How to call a servlet which is deployed inside AEM 6.2 from an application hosted on node server?
I have a servlet exposed through a path param
@SlingServlet(paths = { "/exampleservlet" }, methods = {"GET"})
when I try to make a fetch call(GET) from my React Js front end layer hosted on node server, AEM is not allowing me to reach the servlet and I get a CORS policy exception in my browser console.
Any kind of assistance or suggestions would be appreciated.
Thank you.