mirror of
https://github.com/scottchiefbaker/ESP-WebOTA.git
synced 2024-08-30 18:12:33 +00:00
Update the README with curl
information
This commit is contained in:
parent
414573746b
commit
445a3b1351
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user