mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-24 09:16:43 +00:00
pandoc-cgi: change babelmark endpoint to GET, as expected.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user