PP 9.2 REST based WebSerice and CORS (cross-orgin resource sharing)

Hello All,

 

 

  I created a protocol in pp9.2 and am trying to access via launhJob….

When I access it via typing the URL on the browser, everything works fine… but when I do via javascript using XMLHTTPRequest from my localhost I get then

XMLHttpRequest cannot load http://pipelinepilot:9944/auth/anon/launchjob?_protocol={4F18019B-CCC6-4A53-9B44-407A5A178134. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access.

In PP how do I enable CORS..?

Thanks,

Ravi