Header menu logo FsHttp

FSI Setup

#r @"nuget: FsHttp"
open FsHttp

FSI Request/Response Formatting

When you work in FSI, you can control the output formatting with special keywords.

Some predefined printers are defined in ./src/FsHttp/DslCE.fs, module Fsi

http {
    GET "https://reqres.in/api/users"
    CacheControl "no-cache"
    print_withResponseBodyExpanded
}
namespace FsHttp
Multiple items
static member HttpBuilder.http: HeaderContext

--------------------
property HttpBuilder.http: HeaderContext with get
custom operation: GET (string) Calls IRequestContext.Get
custom operation: CacheControl (string) Calls IRequestContext.CacheControl
<summary> Used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain </summary>
custom operation: print_withResponseBodyExpanded Calls IRequestContext.WithResponseBodyExpanded

Type something to start searching.