I found the following link via google, but I guess the description is outdated.
https://mongoose-os.com/docs/mdash/ota.md
Thats exactly what i need to make quick ota updates.
I have tried the following:
curl -H 'Authorization: Bearer Token -H 'Content-Type: multipart/form-data' -X POST -v -F file=@fw.zip \
https://mdash.net/api/v2/devices/d5/ota
With the error response:
{
"error": {
"code": 500,
"message": "form file error: no multipart boundary param in Content-Type"
}
}
Does this command still work in any form?