server: make babelmark endpoint accept GET.
This commit is contained in:
parent
5335410ace
commit
0aeb7aec1a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue