AnsweredAssumed Answered

Angular 4 - PiWebApi CORS error

Question asked by Lukasz_Widziewicz on Dec 15, 2017
Latest reply on Dec 16, 2017 by kduffy

Hi, I try use PiWebApi to consume data in Angular 4 (https://pisquare.osisoft.com/community/developers-club/blog/2017/10/30/announcing-pi-web-api-client-library-for-angular),

but in FireFox i have error : "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://SERVER/piwebapi/dataservers?path=%5C%5CPISRV1. (Reason: CORS preflight channel did not succeed)."

Could you help ?

 

Regards,

Łukasz Widziewicz

Outcomes