pandoc-cgi: change babelmark endpoint to GET, as expected.

This commit is contained in:
John MacFarlane 2022-08-07 19:37:11 -07:00
parent 6b9da0cc96
commit 4359e60b93

View file

@ -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