Back to WiFiStation Documentation
WiFiStation: HTTP Interface
WiFiStation includes a simple HTTP/Web interface that is disabled by default.
To enable it, issue AT$HTTP=1
and the HTTP server will start immediately.
The HTTP interface is available on the default TCP port 80.
The server can be disabled with AT$HTTP=0
.
Note that the web interface has no authentication on it, so anyone on your network can reach it.
To persist the HTTP server setting (and all modified settings), issue AT&W
.
Uploading through curl
To upload a file msterm.bin
from a command line, use any utility like curl
that supports HTTP 307 redirects:
curl -L -F file=@msterm.bin http://<WiFiStation IP>/upload