Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hoangph271/sneaky-uploader
https://github.com/hoangph271/sneaky-uploader
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hoangph271/sneaky-uploader
- Owner: hoangph271
- Created: 2021-06-11T09:54:23.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-10T10:21:23.000Z (over 3 years ago)
- Last Synced: 2024-10-25T10:50:57.524Z (2 months ago)
- Language: TypeScript
- Size: 948 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sneaky-uploader
## Start the app
Run the app, upload server will be exposed to http://localhost:5555
You can scan the QR Code for server configs---
## Get API server status
`GET` `http://localhost:5555/status` for server status
```json
{"code":200, "pcName":"garand.local"}
```## Upload files
`POST` `http://localhost:5555/images` with `multipart/form-data` body to upload files
(multiple file uploading is also supported)Remember to provide `Authorization` header as well:
The `JWT` payload must have `deviceId` & `deviceName` fields
---
## Web UI for testing
You can also find an upload form at [http://localhost:5555/](http://localhost:5555/) for testing purpose.