FsHttp 8.0.0
See the version list below for details.
dotnet add package FsHttp --version 8.0.0
NuGet\Install-Package FsHttp -Version 8.0.0
<PackageReference Include="FsHttp" Version="8.0.0" />
<PackageVersion Include="FsHttp" Version="8.0.0" />
<PackageReference Include="FsHttp" />
paket add FsHttp --version 8.0.0
#r "nuget: FsHttp, 8.0.0"
#:package FsHttp@8.0.0
#addin nuget:?package=FsHttp&version=8.0.0
#tool nuget:?package=FsHttp&version=8.0.0
FsHttp
FsHttp is a HTTP client library written in F#. It aims for describing and executing HTTP requests in convenient ways that can be used in production and interactive environments.
FsHttp is authored by @ronaldschlenker. Feel free to leave a message.
NOTE: The NuGet package SchlenkR.FsHttp is deprecated. Please use the package FsHttp for releases >= 6.x
Documentation
Please visit the FsHttp Documentation site.
You can also have a the Integration Tests that show various use cases.
A Simple Example
#r "nuget: FsHttp"
open FsHttp
open FsHttp.DslCE
http {
POST "https://reqres.in/api/users"
CacheControl "no-cache"
body
json """
{
"name": "morpheus",
"job": "leader"
}
"""
}
Building
You need to have the latest .Net 5 SDK installed.
Building binaries, publish, and test
There is a F# script that can be used to perform several build tasks from command line. It can be executed in this way:
PS> dotnet fsi .\build.fsx [task]
Common tasks are:
- build
- test
- publish
Building the documentation
The documentation in ./docs is auto-generated from the files in ./src/Docu. In order to build them, run:
PS> .\docu.ps1
Credits
Parts of the code is taken from the HTTP utilities of FSharp.Data.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- FSharp.Core (>= 6.0.1)
- FSharp.Data (>= 4.0.1)
-
net5.0
- FSharp.Core (>= 6.0.1)
- FSharp.Data (>= 4.0.1)
NuGet packages (18)
Showing the top 5 NuGet packages that depend on FsHttp:
| Package | Downloads |
|---|---|
|
FsHttp.FSharpData
FSharp.Data (JSON) integration package for FsHttp |
|
|
Functional.SplinterBots.API
Package Description |
|
|
Pxl.Ui
Package Description |
|
|
FsHttp.NewtonsoftJson
JSON.Net (Newtonsoft.Json) integration package for FsHttp |
|
|
AVPRIndex
Type system and utils for the indexing backend of avpr.nfdi4plants.org |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 15.0.3 | 20,118 | 10/3/2025 |
| 15.0.2 | 2,389 | 9/13/2025 |
| 15.0.1 | 91,190 | 12/3/2024 |
| 14.5.2 | 1,007 | 12/3/2024 |
| 14.5.1 | 330,921 | 8/9/2024 |
| 14.5.0 | 189,114 | 3/5/2024 |
| 14.4.2 | 471 | 3/5/2024 |
| 14.4.1 | 73,378 | 2/5/2024 |
| 14.4.0 | 79,381 | 1/7/2024 |
| 14.2.0 | 1,003 | 1/5/2024 |
| 14.1.0 | 968 | 1/3/2024 |
| 14.0.0 | 794 | 1/2/2024 |
| 13.3.0 | 13,164 | 12/28/2023 |
| 13.2.0 | 794 | 12/28/2023 |
| 12.2.0-preview01 | 773 | 12/24/2023 |
| 12.1.0 | 3,917 | 11/27/2023 |
| 12.0.0 | 51,875 | 10/31/2023 |
| 11.0.0 | 57,688 | 8/5/2023 |
| 11.0.0-preview01 | 1,457 | 3/25/2023 |
| 8.0.0 | 1,393 | 3/2/2022 |
# 7.0.0
* #92 - `expect` and `assert` pass through the original response instead of unit.
# 8.0.0
* #93 (thanks @drhumlen) - Changed content type 'text/json' to 'application/json'.
* Http modules are always AutoOpen in both Dsl and DslCE
* No extra modules for builder methods