RaspberryTortoise Web Server

From SingletonMillerWiki
Jump to: navigation, search

This is the first step: a simple asynchronous response mechanism. At the moment it does not parse the request and is hard-coded to simply execute python -V and emit a response containing the stdout, stderr and error response.

You can run it using node raspberryPiController.js then view the current hard-coded response by browsing to http://127.0.0.1/8124

The next steps:

  • Parse the request for incoming control commands
  • Create an example HTML page (firstly to request the existing functionality, and secondly to construct a command and send that as the request)