victory460 Posted December 3, 2017 Share Posted December 3, 2017 WaveFormsLive sendData to OpenScope MZ in Ajax, in the situation,it related to Cross-domain problem. Which ways to solve the problem in the current project? Link to comment Share on other sites More sharing options...
Kristoff Posted December 4, 2017 Share Posted December 4, 2017 Hey, We use the cross-origin request header to allow WaveForms Live to talk to the OpenScope hardware. More general info about the cross origin request header can be found here. -Kristoff Link to comment Share on other sites More sharing options...
victory460 Posted December 9, 2017 Author Share Posted December 9, 2017 On 12/4/2017 at 3:57 PM, Kristoff said: Hey, We use the cross-origin request header to allow WaveForms Live to talk to the OpenScope hardware. More general info about the cross origin request header can be found here. -Kristoff Thanks a lot.That is to say ,Program in openscopeMZ board to set Http.header ? Link to comment Share on other sites More sharing options...
Kristoff Posted December 12, 2017 Share Posted December 12, 2017 Yes that it correct. WaveForms Live sends an HTTP OPTIONS request to the OpenScope MZ before the first communication. The OpenScope MZ response contains the Access-Control-Allow-Origin header. -Kristoff Link to comment Share on other sites More sharing options...
victory460 Posted December 14, 2017 Author Share Posted December 14, 2017 On 2017/12/13 at 5:34 AM, Kristoff said: Yes that it correct. WaveForms Live sends an HTTP OPTIONS request to the OpenScope MZ before the first communication. The OpenScope MZ response contains the Access-Control-Allow-Origin header. -Kristoff Thanks a lot. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.