Update the README with curl information

This commit is contained in:
Scott Baker 2019-03-18 11:18:48 -07:00
parent 414573746b
commit 445a3b1351

View File

@ -12,7 +12,7 @@ Include the WebOTA library
#include <WebOTA.h>
Optionally initialize the WebOTA library if you want to change the defaults . This is done at the end of your `setup()` function:
Optionally initialize the WebOTA library if you want to change the defaults. This is done at the end of your `setup()` function:
void setup() {
// Other init code here (WiFi, etc)
@ -38,6 +38,10 @@ You will need to create a binary sketch image to upload. This is done in the Ard
Navigate to your ESP in a web browser to upload your binary image. Typical URLs are: http://esp-ota.local:8080/webota.
You can also use Curl if you want to script your uploads from the CLI
curl -F "file=@MyImage.bin" http://esp-ota.local:8080/webota
## Based on
Borrowed from [randomnerdtutorials.com](https://randomnerdtutorials.com/esp32-over-the-air-ota-programming/) and improved upon.