Module Rest.Make_no_arg

Creates a REST endpoint using the http post method with no argument operation specified by provided module Operation. Also produces a command line interface hook.

Parameters

Signature

val post : (module Cfg.S) -> Nonce.reader -> unit -> [ Error.post | `Ok of Operation.response ] Async.Deferred.t
val command : string * Core.Command.t