Current files are attached.
The html file goes on the SD card to be served by the JS file to the client.
The JS file serves the files and responds to the POST request in the html page.
The req.read, req.on('data') methods don't seem to work.
I stuffed the POST message in the header. On the server side the message from the header has to have octal characters parsed back to the original message.
Any help with getting the POST message to show up will be greatly appreciated.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Current files are attached.
The html file goes on the SD card to be served by the JS file to the client.
The JS file serves the files and responds to the POST request in the html page.
The req.read, req.on('data') methods don't seem to work.
I stuffed the POST message in the header. On the server side the message from the header has to have octal characters parsed back to the original message.
Any help with getting the POST message to show up will be greatly appreciated.
2 Attachments