Flurl.Http
4.0.0
Prefix Reserved
See the version list below for details.
dotnet add package Flurl.Http --version 4.0.0
NuGet\Install-Package Flurl.Http -Version 4.0.0
<PackageReference Include="Flurl.Http" Version="4.0.0" />
paket add Flurl.Http --version 4.0.0
#r "nuget: Flurl.Http, 4.0.0"
// Install Flurl.Http as a Cake Addin
#addin nuget:?package=Flurl.Http&version=4.0.0
// Install Flurl.Http as a Cake Tool
#tool nuget:?package=Flurl.Http&version=4.0.0
Flurl
Flurl is a modern, fluent, asynchronous, testable, portable, buzzword-laden URL builder and HTTP client library.
var result = await "https://api.mysite.com"
.AppendPathSegment("person")
.SetQueryParams(new { api_key = "xyz" })
.WithOAuthBearerToken("my_oauth_token")
.PostJsonAsync(new { first_name = firstName, last_name = lastName })
.ReceiveJson<T>();
[Test]
public void Can_Create_Person() {
// fake & record all http calls in the test subject
using var httpTest = new HttpTest();
// arrange
httpTest.RespondWith("OK", 200);
// act
await sut.CreatePersonAsync("Frank", "Reynolds");
// assert
httpTest.ShouldHaveCalled("http://api.mysite.com/*")
.WithVerb(HttpMethod.Post)
.WithContentType("application/json");
}
Get it on NuGet:
PM> Install-Package Flurl.Http
Or get just the stand-alone URL builder without the HTTP features:
PM> Install-Package Flurl
For updates and announcements, follow @FlurlHttp on Twitter.
For detailed documentation, please visit the main site.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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. |
.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 is compatible. 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. |
-
.NETFramework 4.6.1
- Flurl (>= 4.0.0)
- System.Text.Json (>= 6.0.4)
-
.NETStandard 2.0
- Flurl (>= 4.0.0)
- System.Text.Encoding.CodePages (>= 4.5.1)
- System.Text.Json (>= 6.0.4)
-
net6.0
- Flurl (>= 4.0.0)
NuGet packages (624)
Showing the top 5 NuGet packages that depend on Flurl.Http:
Package | Downloads |
---|---|
Reo.Core.Hosting
Package Description |
|
Reo.Core.Auth
Package Description |
|
Reo.Core.DataImport
Package Description |
|
Flurl.Http.Xml
XML extensions to Flurl.Http |
|
FenixAlliance.ACL.Dependencies
Application Component for the Alliance Business Suite. |
GitHub repositories (48)
Showing the top 5 popular GitHub repositories that depend on Flurl.Http:
Repository | Stars |
---|---|
Kareadita/Kavita
Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
|
|
Ponderfly/GoogleTranslateIpCheck
|
|
Megabit/Blazorise
Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Tailwind, Bulma, AntDesign, and Material.
|
|
ONLYOFFICE/CommunityServer
Free open source office suite with business productivity tools: document and project management, CRM, mail aggregator.
|
|
ArduPilot/MissionPlanner
Mission Planner Ground Control Station for ArduPilot (c# .net)
|
Version | Downloads | Last updated |
---|---|---|
4.0.2 | 530,824 | 1/17/2024 |
4.0.1 | 122,974 | 1/10/2024 |
4.0.0 | 151,664 | 12/14/2023 |
4.0.0-pre7 | 4,423 | 12/8/2023 |
4.0.0-pre6 | 21,940 | 11/3/2023 |
4.0.0-pre5 | 11,114 | 10/22/2023 |
4.0.0-pre4 | 8,428 | 10/9/2023 |
4.0.0-pre3 | 177,133 | 12/20/2022 |
4.0.0-pre2 | 173,241 | 6/20/2022 |
4.0.0-pre1 | 46,638 | 6/5/2022 |
3.2.4 | 15,291,075 | 5/20/2022 |
3.2.4-pre2 | 1,374 | 5/18/2022 |
3.2.4-pre1 | 693 | 5/18/2022 |
3.2.3 | 1,148,402 | 4/25/2022 |
3.2.2 | 3,125,223 | 1/27/2022 |
3.2.1 | 82,920 | 1/22/2022 |
3.2.0 | 9,543,856 | 5/4/2021 |
3.0.1 | 3,925,763 | 12/14/2020 |
3.0.0 | 1,100,794 | 11/1/2020 |
3.0.0-pre6 | 17,898 | 10/24/2020 |
3.0.0-pre5 | 11,567 | 10/1/2020 |
3.0.0-pre4 | 17,335 | 8/8/2020 |
3.0.0-pre3 | 158,890 | 12/29/2019 |
3.0.0-pre2 | 15,736 | 12/15/2019 |
3.0.0-pre1 | 14,443 | 11/9/2019 |
2.4.2 | 13,873,007 | 4/28/2019 |
2.4.1 | 2,104,542 | 2/15/2019 |
2.4.0 | 2,434,896 | 9/4/2018 |
2.4.0-pre | 1,781 | 8/31/2018 |
2.3.2 | 1,320,466 | 7/3/2018 |
2.3.1 | 818,498 | 4/17/2018 |
2.3.0 | 86,847 | 4/5/2018 |
2.3.0-pre1 | 1,834 | 3/31/2018 |
2.2.1 | 158,945 | 3/8/2018 |
2.2.0 | 87,369 | 2/22/2018 |
2.2.0-pre2 | 1,710 | 2/19/2018 |
2.2.0-pre1 | 1,487 | 2/19/2018 |
2.1.1 | 567,579 | 12/19/2017 |
2.1.0 | 120,873 | 12/4/2017 |
2.1.0-pre | 1,637 | 11/29/2017 |
2.0.1 | 241,299 | 10/9/2017 |
2.0.0 | 47,184 | 10/6/2017 |
2.0.0-pre4 | 1,597 | 10/3/2017 |
2.0.0-pre3 | 1,911 | 9/30/2017 |
2.0.0-pre2 | 6,369 | 9/7/2017 |
2.0.0-pre1 | 1,512 | 9/4/2017 |
1.2.0 | 684,205 | 7/21/2017 |
1.2.0-pre | 1,682 | 7/18/2017 |
1.1.3 | 150,384 | 7/16/2017 |
1.1.2 | 331,411 | 2/27/2017 |
1.1.1 | 177,534 | 11/29/2016 |
1.1.1-pre | 1,934 | 11/24/2016 |
1.1.0-pre | 1,624 | 11/21/2016 |
1.0.3 | 77,073 | 9/22/2016 |
1.0.2 | 7,039 | 9/12/2016 |
1.0.1 | 71,445 | 7/31/2016 |
1.0.0 | 39,344 | 7/18/2016 |
1.0.0-beta9 | 1,528 | 7/17/2016 |
1.0.0-beta8 | 1,797 | 7/14/2016 |
1.0.0-beta7 | 1,651 | 7/10/2016 |
0.10.1 | 103,867 | 5/25/2016 |
0.10.0 | 8,506 | 5/15/2016 |
0.10.0-pre2 | 1,683 | 5/15/2016 |
0.10.0-pre | 1,513 | 5/15/2016 |
0.9.0 | 80,093 | 4/21/2016 |
0.9.0-pre | 1,740 | 4/21/2016 |
0.8.0 | 4,208 | 4/12/2016 |
0.8.0-pre | 1,859 | 4/10/2016 |
0.7.0 | 237,364 | 9/20/2015 |
0.6.4 | 20,477 | 8/18/2015 |
0.6.3 | 14,274 | 7/19/2015 |
0.6.2 | 6,551 | 6/25/2015 |
0.6.1 | 5,235 | 6/11/2015 |
0.6.0 | 214,919 | 3/28/2015 |
0.5.3 | 2,187 | 3/19/2015 |
0.5.2 | 1,922 | 3/17/2015 |
0.5.1 | 1,891 | 3/16/2015 |
0.5.0 | 11,686 | 2/4/2015 |
0.4.2 | 1,963 | 2/2/2015 |
0.4.1 | 2,297 | 1/17/2015 |
0.4.0 | 2,441 | 12/16/2014 |
0.4.0-pre2 | 1,935 | 12/15/2014 |
0.4.0-pre | 1,831 | 12/14/2014 |
0.3.0-pre | 1,816 | 12/10/2014 |
0.2.5 | 2,545 | 12/8/2014 |
0.2.4 | 18,382 | 8/29/2014 |
0.2.3 | 2,484 | 7/24/2014 |
0.2.2 | 1,987 | 7/8/2014 |
0.2.1 | 2,045 | 6/19/2014 |
0.2.0 | 2,123 | 6/11/2014 |
0.2.0-pre | 1,615 | 6/5/2014 |
0.1.3 | 2,024 | 5/31/2014 |
0.1.2 | 1,982 | 5/12/2014 |
0.1.1 | 2,102 | 5/5/2014 |
0.1.0 | 12,036 | 5/4/2014 |