I have a SlingServlet which I am trying to access by making ajax call from html outside of AEM.At first it works but now I am getting following error:
test.html:1 XMLHttpRequest cannot load http://localhost:4502/bin/DamHandlerr.html?imgURL=http://s3.amazonaws.com/f…iles-aviary-prod-us-east-1/2016-05-24/3dfa830ede7b44c4a88e872b22875c85.png. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
Can anyone guide me here?