Http.Request
HTTP requests.
val make : ?headers:headers -> ?body:string -> method' -> url:B0_std.Url.t -> t
make m ~url ~headers ~body
is a request on url
with method m
, headers headers
(defaults to []
) and body body
(defaults to ""
).
val url : t -> B0_std.Url.t
url r
is the URL of r
.
val body : t -> string
body r
is the body of r
.