Upload images
| iimage | ||
| routing | ||
| .gitignore | ||
| go.mod | ||
| LICENSE | ||
| main.go | ||
| README.md | ||
imload
imload (Image Uploading) is a simple image uploading server
Usage
./imload
# Port is 3469
# Custom path not supported yet
each uploaded images will go into public/
Note
Only
png,jpgandgifare supported.
| Route | Infos |
|---|---|
localhost:3469/upload?name |
POST with optional name, PNG/JPEG/GIF Data, returns created image name |
localhost:3469/image/:image |
GET, PNG/JPEG/GIF Data, returns image data |
Building
imload has no dependencies, except for Go
go build .