AnsweredAssumed Answered

Access-Control-Allow-Origin header.

Question asked by HansBleijendaal on Aug 14, 2017
Latest reply on Aug 14, 2017 by HansBleijendaal

I am running against an error while implementing Using PI Web API with AngularJS".

 

SEC7120: Origin http://localhost:41930 not found in Access-Control-Allow-Origin header.

 

Below a screenshot of the debug-report:

 

 

The first 2 requests are succesfull, this is showed in the screenshot above.

But the next requests give ther error...

This is when I the following script is executed:

I am running this page over 2 domains:

The WebPage is in engineer-domain, the PI-data-archive and PIAF is in production-domain.

Any suggestion to solve this issue...

Hans

Outcomes