2 Replies Latest reply on Aug 14, 2017 8:40 AM by HansBleijendaal

    Access-Control-Allow-Origin header.

    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