https://github.com/ziman/postbox
Write-only HTTP POST file storage
https://github.com/ziman/postbox
Last synced: 12 months ago
JSON representation
Write-only HTTP POST file storage
- Host: GitHub
- URL: https://github.com/ziman/postbox
- Owner: ziman
- License: mit
- Created: 2018-10-08T08:08:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-08T08:28:10.000Z (over 7 years ago)
- Last Synced: 2025-03-27T02:44:03.537Z (about 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# postbox
Write-only HTTP POST file storage.
Useful for:
* RPis sending pictures every 5 minutes to a storage server over unreliable WAN
connections, where SSHFS does not work well.
* Having your friends send you files using their browser.
## Usage
1. `POST` to `/your-dir/your-file.ext` to upload a file.
`curl http://127.0.0.1:8071/today/pic.jpg -F 'file=@pic.jpg'`
1. Refer your friends to `http://YO.UR.IP.ADDR:8071/`