Rest.Make
Creates a REST endpoint using the http post method with operation specified by provided module Operation
. Also produces a command line interface hook.
module Operation : Operation.S
val post :
(module Cfg.S) ->
Nonce.reader ->
Operation.request ->
[ `Ok of Operation.response | Error.post ] Async.Deferred.t