Home
MyAdvantech
Log Out
Worldwide
Products
Solutions
Digital Healthcare
Digital Logistics & Digital Retail
Digital Retail & Hospitality
Embedded Core
Factory Automation
Gaming
Intelligent Building
Intelligent Transportation
Machine Automation
Network & Telecom
Power and Energy
Video Solutions
Oil, Gas and Water
Corporate
Company Overview
Investor Relations
Press Room
Worldwide Events
Solution Day
Trade Show
Job Opportunities
Employee
Partners
Channel Partners
Solution Partners
Business Alliance Partners
Login to MyAdvantech
Support
Downloads
技術的なお問い合わせ
保証期間確認
客户培训
教育訓練中心
RMA Services
Online Catalog
Resources
TI EVM Support
cnex Newsletter
Services
Design To Order Services
Solution Integration Services
Advantech Global Services
Service Packages
Contact
eStore
Worldwide / USA
Europe
Australia
Belgium
Brazil
China
France
Germany
Hungary
Italy
India
Japan
Korea
Luxembourg
Malaysia
Netherlands
Poland
Portugal
Russia
Singapore
Spain
Thailand
Scandinavia
Taiwan
U.K.
Support
/
Downloads
/
FAQ
/
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
Primary
Secondary
Thank you!
I cannot download file in this page:
We will send you the file if you fill your email below
Your feedback about this webpage:
Please rate this page.
Extremely helpful
Very helpful
Somewhat helpful
Slightly helpful
Not all helpful
No information found, or need further assistance, or have other suggestions?
Yes
No
Submit
Ask an Expert
Sales & Quotation
More Contacts
Toll Free
1-888-576-9668
Support Service
Open Service Request
Return & Repair
Warranties
AdvantechCare
Global Services
TI EVM Support