Very smol API for getting images of my ferrets
The root route is /api
GET
/random -{ url: "cdn_url" }
GET
/ferret/{id} -{ url: "cdn_url" }
POST
/submit -{ file: "file.xyz", token: "some-token-provided-by-me" }
Getting a random image
curl \
https://ferret-api.canarado.xyz/api/random
Submitting a ferret picture
curl \
-F file="@~/images/someimage.png" \
-F token="some-token-provided-by-me" \
https://ferret-api.canarado.xyz/api/submit