server: make babelmark endpoint accept GET.

This commit is contained in:
John MacFarlane 2022-08-08 10:12:33 -07:00
parent 5335410ace
commit 0aeb7aec1a

View file

@ -48,7 +48,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