Flurl.Http
4.0.2
Prefix Reserved
dotnet add package Flurl.Http --version 4.0.2
NuGet\Install-Package Flurl.Http -Version 4.0.2
<PackageReference Include="Flurl.Http" Version="4.0.2" />
paket add Flurl.Http --version 4.0.2
#r "nuget: Flurl.Http, 4.0.2"
// Install Flurl.Http as a Cake Addin #addin nuget:?package=Flurl.Http&version=4.0.2 // Install Flurl.Http as a Cake Tool #tool nuget:?package=Flurl.Http&version=4.0.2
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 (679)
Showing the top 5 NuGet packages that depend on Flurl.Http:
Package | Downloads |
---|---|
Reo.Core.Hosting
Package Description |
|
Reo.Core.IdentityModel
Package Description |
|
Reo.Core.AutoHistory
Package Description |
|
Reo.Core.Database
Package Description |
|
Reo.Core.Elastic
Package Description |
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
扫描国内可用的谷歌翻译IP
|
|
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 | 3,383,337 | 1/17/2024 |
4.0.1 | 396,540 | 1/10/2024 |
4.0.0 | 265,575 | 12/14/2023 |
4.0.0-pre7 | 4,628 | 12/8/2023 |
4.0.0-pre6 | 22,965 | 11/3/2023 |
4.0.0-pre5 | 11,855 | 10/22/2023 |
4.0.0-pre4 | 8,936 | 10/9/2023 |
4.0.0-pre3 | 229,186 | 12/20/2022 |
4.0.0-pre2 | 222,166 | 6/20/2022 |
4.0.0-pre1 | 53,618 | 6/5/2022 |
3.2.4 | 19,253,864 | 5/20/2022 |
3.2.4-pre2 | 1,561 | 5/18/2022 |
3.2.4-pre1 | 739 | 5/18/2022 |
3.2.3 | 1,328,995 | 4/25/2022 |
3.2.2 | 3,435,600 | 1/27/2022 |
3.2.1 | 153,771 | 1/22/2022 |
3.2.0 | 10,882,650 | 5/4/2021 |
3.0.1 | 4,284,242 | 12/14/2020 |
3.0.0 | 1,207,198 | 11/1/2020 |
3.0.0-pre6 | 18,358 | 10/24/2020 |
3.0.0-pre5 | 11,698 | 10/1/2020 |
3.0.0-pre4 | 18,085 | 8/8/2020 |
3.0.0-pre3 | 162,172 | 12/29/2019 |
3.0.0-pre2 | 15,878 | 12/15/2019 |
3.0.0-pre1 | 15,146 | 11/9/2019 |
2.4.2 | 15,080,837 | 4/28/2019 |
2.4.1 | 2,253,839 | 2/15/2019 |
2.4.0 | 2,616,466 | 9/4/2018 |
2.4.0-pre | 1,827 | 8/31/2018 |
2.3.2 | 1,417,056 | 7/3/2018 |
2.3.1 | 905,157 | 4/17/2018 |
2.3.0 | 87,745 | 4/5/2018 |
2.3.0-pre1 | 1,881 | 3/31/2018 |
2.2.1 | 171,312 | 3/8/2018 |
2.2.0 | 89,749 | 2/22/2018 |
2.2.0-pre2 | 1,768 | 2/19/2018 |
2.2.0-pre1 | 1,543 | 2/19/2018 |
2.1.1 | 601,705 | 12/19/2017 |
2.1.0 | 125,592 | 12/4/2017 |
2.1.0-pre | 1,685 | 11/29/2017 |
2.0.1 | 246,962 | 10/9/2017 |
2.0.0 | 50,169 | 10/6/2017 |
2.0.0-pre4 | 1,640 | 10/3/2017 |
2.0.0-pre3 | 1,959 | 9/30/2017 |
2.0.0-pre2 | 6,493 | 9/7/2017 |
2.0.0-pre1 | 1,561 | 9/4/2017 |
1.2.0 | 714,992 | 7/21/2017 |
1.2.0-pre | 1,722 | 7/18/2017 |
1.1.3 | 154,202 | 7/16/2017 |
1.1.2 | 341,390 | 2/27/2017 |
1.1.1 | 190,347 | 11/29/2016 |
1.1.1-pre | 1,982 | 11/24/2016 |
1.1.0-pre | 1,667 | 11/21/2016 |
1.0.3 | 78,600 | 9/22/2016 |
1.0.2 | 7,128 | 9/12/2016 |
1.0.1 | 74,924 | 7/31/2016 |
1.0.0 | 44,163 | 7/18/2016 |
1.0.0-beta9 | 1,575 | 7/17/2016 |
1.0.0-beta8 | 1,849 | 7/14/2016 |
1.0.0-beta7 | 1,697 | 7/10/2016 |
0.10.1 | 109,607 | 5/25/2016 |
0.10.0 | 8,587 | 5/15/2016 |
0.10.0-pre2 | 1,789 | 5/15/2016 |
0.10.0-pre | 1,558 | 5/15/2016 |
0.9.0 | 95,134 | 4/21/2016 |
0.9.0-pre | 1,780 | 4/21/2016 |
0.8.0 | 4,261 | 4/12/2016 |
0.8.0-pre | 1,900 | 4/10/2016 |
0.7.0 | 292,643 | 9/20/2015 |
0.6.4 | 21,109 | 8/18/2015 |
0.6.3 | 15,855 | 7/19/2015 |
0.6.2 | 7,029 | 6/25/2015 |
0.6.1 | 5,284 | 6/11/2015 |
0.6.0 | 231,640 | 3/28/2015 |
0.5.3 | 2,238 | 3/19/2015 |
0.5.2 | 1,973 | 3/17/2015 |
0.5.1 | 1,936 | 3/16/2015 |
0.5.0 | 11,879 | 2/4/2015 |
0.4.2 | 2,007 | 2/2/2015 |
0.4.1 | 2,342 | 1/17/2015 |
0.4.0 | 2,486 | 12/16/2014 |
0.4.0-pre2 | 1,975 | 12/15/2014 |
0.4.0-pre | 1,875 | 12/14/2014 |
0.3.0-pre | 1,861 | 12/10/2014 |
0.2.5 | 2,589 | 12/8/2014 |
0.2.4 | 18,428 | 8/29/2014 |
0.2.3 | 2,538 | 7/24/2014 |
0.2.2 | 2,032 | 7/8/2014 |
0.2.1 | 2,093 | 6/19/2014 |
0.2.0 | 2,172 | 6/11/2014 |
0.2.0-pre | 1,659 | 6/5/2014 |
0.1.3 | 2,097 | 5/31/2014 |
0.1.2 | 2,041 | 5/12/2014 |
0.1.1 | 2,148 | 5/5/2014 |
0.1.0 | 17,639 | 5/4/2014 |