Document No. 1-2280808513
Date Updated 03-26-2018 Date Created 10-29-2015
Document Type FAQ Related OS
Related Product ADAM-6050 / ADAM-6051 / ADAM-6052 / ADAM-6060 / ADAM-6066 / WISE-4010/LAN / WISE-4012 / WISE-4012E / WISE-4050 / WISE-4050/LAN / WISE-4060 / WISE-4060/LAN
IAG_FAQ_ADAM_WISE_Can WISE and ADAM accept the REST http request from different IP address
Solution :
I have been trying to get the WISE-4060 module working with JSON communication. The unit worked fine when reading Digital Inputs/Outputs through the web server. There is no problem to toggle Digital Outputs from web server either. I can basically achieve the same functionality through Chrome Advanced Rest Client – using GET request to read DI/DO and PUT request to set/reset Digital Output. However, when I’m trying to toggle Digital Output from HTML using jQuery, I’m getting the following error message: “No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP status code 400.” The html file is on my PC (no web server). As far as I understood since I’m doing an XMLHttpRequest to a different domain than my page is on (in my case on my local PC) the browser is blocking it as it usually allows a request in the same origin for security reasons. Would you have a solution to this problem (e.g. JSONP)?
Download File Released Date Download Site
IAG_FAQ_ADAM_WISE_Can WISE and ADAM accept the REST http request from different IP address.pdf 2016-02-17
  1. Primary
  2. Secondary
I cannot download file in this page: We will send you the file if you fill your email below
  1.