Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hoangph271/sneaky-uploader


https://github.com/hoangph271/sneaky-uploader

Last synced: 15 days ago
JSON representation

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:
Screen Shot 2021-06-16 at 20 15 42

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.

Screen Shot 2021-06-15 at 18 08 41