You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Not yet - I just created an issue for this though: https://github.com/espruino/Espruino/iss­ues/226

    You can hack around it by looking at the actual data received though:

    function pageHandler(req, res) {
      console.log(req["dRcv"].substr(req["dRcv­"].indexOf("\r\n\r\n")+4));
      res.writeHead(200, {'Content-Type': 'text/html'});
      res.write('<html><body><form method="post"><textarea name="foo"></textarea><input type="submit"></form></body></html>');
      res.end();
    }
    

    However it is an internal variable so it may change in the future.

About

Avatar for Gordon @Gordon started