Hey
Is it possible to use this server as a middle ware to communicate with a Raspberry Pi server in the same network?
Sending a XmlHttpRequest directly from cordova app to a server in Pi is not possible, reason being it becomes a preflight request. And the server in Pi does not support cors.
So I was thinking to use this library to act as a gateway between the mobile app and the Pi. But I am not clear on the workflow? How do you run it that way.
Like if I have this XHR request
Hey Is it possible to use this server as a middle ware to communicate with a Raspberry Pi server in the same network?
Sending a XmlHttpRequest directly from cordova app to a server in Pi is not possible, reason being it becomes a preflight request. And the server in Pi does not support cors.
So I was thinking to use this library to act as a gateway between the mobile app and the Pi. But I am not clear on the workflow? How do you run it that way. Like if I have this XHR request
How do you communicate now with this server and ask the server to pass on the post request to Pi?