You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. create an ajax request to the http rest api, using another server even
locally with different port
2. initiate the requset, and you will get CORS error
3.
...
WebIOPi version used?
=>
Python version used?
=>
Distro used? (WebIOPi has only been tested on Raspbian Wheezy)
=>
Raspberry Pi board revision? (1 or 2)
=> 1
For Javascript side bugs, Browser?
=>
Please provide any additional information below.
Need to enable CORS headers on python server side, or allow jsonp return of
data. I am attempting to communicate to the raspberry pi's GPIO via REST but
since my nodeJs http server is running on port 80 and the webiopi is running on
port 8000 it causes a CORS issue. JSONP wont work as data is transmitted as
text/plain and callback is dropped.
Original issue reported on code.google.com by m.dev...@gmail.com on 30 Mar 2013 at 8:45
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
m.dev...@gmail.com
on 30 Mar 2013 at 8:45The text was updated successfully, but these errors were encountered: