Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mongoose-os-apps/http-fetch
https://github.com/mongoose-os-apps/http-fetch
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mongoose-os-apps/http-fetch
- Owner: mongoose-os-apps
- License: other
- Created: 2017-07-21T16:14:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-08-20T19:03:10.000Z (over 4 years ago)
- Last Synced: 2024-07-31T21:52:54.914Z (6 months ago)
- Language: C
- Size: 4.88 KB
- Stars: 3
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mongoose-os - http-fetch
README
# Download URL, write to UART or file
## Overview
This app implements an RPC service which allows to download a given URL
and write content to the UART or file. Example usage here fetches Mongoose OS
default firmware for ESP32 from mongoose-os.com and writes it to the UART 0:Download to UART 0:
```
mos call Fetch '{"url": "http://mongoose-os.com/downloads/mos/version.json", "uart": 0}'
```Download to a file:
```
mos call Fetch '{"url": "http://mongoose-os.com/downloads/mos/version.json", "file": "x.json"}'
```