Simple rest-inspired server for Arduino that works with Serial or Ethernet connections.
31
stars
10
forks
source link
Polling a JSON-value via Ajax (jQuery) from another website (apache) produces error "Origin http://localhost is not a... #11
Open
unSinn opened 11 years ago
...llowed by Access-Control-Allow-Origin.
Complete Error from Chromium: "XMLHttpRequest cannot load http://192.168.2.200/json/output_light. Origin http://localhost is not allowed by Access-Control-Allow-Origin."
I don't know if this is the proper fix for this but it's working for me.
thanks for a great Arduino library