From 4359e60b93257cf45075c2a52011c4c02bc6a6ea Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 7 Aug 2022 19:37:11 -0700 Subject: [PATCH] pandoc-cgi: change babelmark endpoint to GET, as expected. --- pandoc-cgi/PandocCGI.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandoc-cgi/PandocCGI.hs b/pandoc-cgi/PandocCGI.hs index 9cecabfb2..1789f34a5 100644 --- a/pandoc-cgi/PandocCGI.hs +++ b/pandoc-cgi/PandocCGI.hs @@ -45,7 +45,7 @@ type API = :<|> ReqBody '[JSON] [Params] :> Post '[JSON] [Text] :<|> - "babelmark" :> ReqBody '[JSON] Params :> Post '[JSON] Value + "babelmark" :> ReqBody '[JSON] Params :> Get '[JSON] Value :<|> "version" :> Get '[PlainText, JSON] Text