stanleyhuangyc / Freematics

Official source code repository for Freematics
https://freematics.com
425 stars 346 forks source link

Implement "delete" HTTP API #88

Closed AndreaBorgia-Abo closed 5 years ago

AndreaBorgia-Abo commented 5 years ago

This allows to delete a file, either on the SD card or in the internal flash, so that one can remotely archive them without having to unplug the unit from the car. I have tested the following cases: removing active file (denied), removing previous existing file (allowed), removing non-existing file (flagged as error). Please consider merging if you like it, thanks.