[MarkLogic Dev General] Error while sending AJAX request to Marklogic

shabana khan shabana.0308 at gmail.com
Thu Feb 23 02:23:11 PST 2017


Hi All,

We are trying to send an ajax request to MarkLogic server for accessing
some data.
When we call the service, we are getting this error :

XMLHttpRequest cannot load {ML service}No 'Access-Control-Allow-Origin'
header is present on the requested resource.Origin
'http://localhost:{port-no}' is therefore not allowed access.

Can anyone suggest as to what can be done at MarkLogic end or do we need to
resolve this while sending the request.

Thanks and Regards,
Shabana Khan
LinkedIn <https://in.linkedin.com/pub/shabana-khan/40/229/454>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20170223/8b27c50b/attachment.html 


More information about the General mailing list