cgic works quite goodYou can upload files - BUT BINARY FILES GET BROKEN IN THE UPLOAD ... Any fixes for that?!
As alternative server thttpd is small and swift.
I have attached bundle of both including some test scripts.
The approach to use cgi/html as configuration tool requires a web browser. Smallest CLI browser I know is retawq (305K static linked). Compared to pure dialog (233K static linked) you could argue that cgi/html ends up using more disk space if used for configuration interface only.
Edit 20200205: Added source for cgic as above link changed content. Added patch to get upload.cgi