With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
"Since ESP8266 is very limited in RAM, it cannot handle the HTTP POST data that over around 1 KB."This sounds solvable. I didn't like the size and feature matrix of nodemcu-httpdserver, so I wrote a very tiny httpd server for nodemcu too: it is less than 4KB in a single file, leaving over 31KB free according to node.heap() (and there's also removable websocket support). I also reused and tweaked the cool ide from the ESPAsyncWebServer project. I can POST over 500KB of data with no problems in a multipart form request: after finding the start boundary the callback function receives all the data continuously in chunks of about 1,5KB stopping at Content-Length bytes. I tested the upload with chrome and firefox. Here's my approach:https://github.com/harrytuttle/nodemcu-httpd/
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.