From 2e735d2acc5e7b0eb253295303a9e632fda07a79 Mon Sep 17 00:00:00 2001 From: heyarne Date: Sun, 20 Mar 2022 22:20:59 +0100 Subject: [PATCH] Fix docs --- cmd/serve.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/serve.go b/cmd/serve.go index ca91cbb..2354939 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -48,7 +48,7 @@ A webserver to convert GIFs, PNGs and JPEGs to 4-bit grayscale images. ## Routes - POST /convert can be used to convert a file on your filesystem -- GET /convert/[url] can be used to convert a file publically accessible via URL +- GET /convert?url=[url] can be used to convert a file publically accessible via URL Both routes accept a "width" and a "height" parameter to configure the output size. If you want the response to be gzip encoded, just set the Accept-Encoding header.