Difference between revisions of "RaspberryTortoise Web Server"

From SingletonMillerWiki
Jump to: navigation, search
(First info on software)
(No difference)

Revision as of 10:42, 12 August 2012

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)