diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2022-08-07 19:37:11 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-08-07 19:37:11 -0700 |
| commit | 4359e60b93257cf45075c2a52011c4c02bc6a6ea (patch) | |
| tree | 68f2a2c54b546ea4881598fa0f178ec89ce7d115 | |
| parent | 6b9da0cc96fe975bfb1ebdff6536385a349e7973 (diff) | |
pandoc-cgi: change babelmark endpoint to GET, as expected.
| -rw-r--r-- | pandoc-cgi/PandocCGI.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
