Header menu logo FsHttp

Sending URL-Encoded Form

http {
    POST "https://mysite"
    formUrlEncoded [
        "key_1", "Data 1"
        "key_2", "Data 2"
|> Request.send
namespace FsHttp
Multiple items
static member HttpBuilder.http: HeaderContext

property HttpBuilder.http: HeaderContext with get
custom operation: POST (string) Calls IRequestContext.Post
custom operation: body Calls IRequestContext.Body
<summary> An explicit transformation from a previous context to allow for describing the request body. </summary>
custom operation: formUrlEncoded ((string * string) list) Calls IRequestContext.FormUrlEncoded
Multiple items
module Request from FsHttp.Print

module Request from FsHttp

type Request = { header: Header content: BodyContent config: Config printHint: PrintHint }
val send: request: IToRequest -> Response
<summary> Sends a request synchronously. </summary>

Type something to start searching.