Need to return CORS heaers lest browsers talking directly to RESTDuino become angry.
Interestingly this doesn't seem to impact "write" operations, i.e., you can issue GET requests that are processed by RESTDuino, but the browser rejects the response. I haven't tested it yet, but my guess is that "read" operations will fail altogether.
So, RESTDuino should return the necessary CORS headers to make the browsers know it's OK to talk to RESTDuino.
Need to return CORS heaers lest browsers talking directly to RESTDuino become angry.
Interestingly this doesn't seem to impact "write" operations, i.e., you can issue GET requests that are processed by RESTDuino, but the browser rejects the response. I haven't tested it yet, but my guess is that "read" operations will fail altogether.
So, RESTDuino should return the necessary CORS headers to make the browsers know it's OK to talk to RESTDuino.