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" />
<PackageVersion Include="Flurl.Http" Version="4.0.2" />
<PackageReference Include="Flurl.Http" />
paket add Flurl.Http --version 4.0.2
#r "nuget: Flurl.Http, 4.0.2"
#:package [email protected]
#addin nuget:?package=Flurl.Http&version=4.0.2
#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. 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 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 (771)
Showing the top 5 NuGet packages that depend on Flurl.Http:
| Package | Downloads |
|---|---|
|
Reo.Core.Hosting
Package Description |
|
|
Flurl.Http.Newtonsoft
A Newtonsoft-based JSON serializer for Flurl.Http 4.0 and above. |
|
|
Reo.Core.IdentityModel
Package Description |
|
|
Reo.Core.AutoHistory
Package Description |
|
|
Reo.Core.Database
Package Description |
GitHub repositories (66)
Showing the top 20 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.
|
|
|
Azure-Samples/cognitive-services-speech-sdk
Sample code for the Microsoft Cognitive Services Speech SDK
|
|
|
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)
|
|
|
recyclarr/recyclarr
Automatically sync TRaSH Guides to your Sonarr and Radarr instances
|
|
|
fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat
可能是全网最完整的 C# 版微信 SDK,封装全部已知的微信 OpenAPI,包含微信公众平台(订阅号+服务号+小程序+小游戏+小商店+视频号)、微信开放平台、微信商户平台(微信支付+微企付)、企业微信、微信广告平台、微信智能对话开放平台等模块,可跨平台。持续随官方更新,欢迎 Star/Fork/PR。QQ 交流群 875580418【满】、930461548【满】、611974621。
|
|
|
CoreUnion/CoreShop
基于 Asp.Net Core 9.0、Uni-App开发,支持可视化布局的小程序商城系统,前后端分离,支持分布式部署,跨平台运行,拥有分销、代理、团购、拼团、秒杀、直播、优惠券、自定义表单等众多营销功能,拥有完整SKU、下单、售后、物流流程。支持一套代码编译发布微信小程序版、H5版、Android版、iOS版、支付宝小程序版、字节跳动小程序版、QQ小程序版等共10个平台。
|
|
|
grandnode/grandnode2
E-commerce platform built with ASP.NET Core using MongoDB for NoSQL storage
|
|
|
micahmo/WgServerforWindows
Wg Server for Windows (WS4W) is a desktop application that allows running and managing a WireGuard server endpoint on Windows
|
|
|
HenJigg/wpf-abp
Cross-platform mobile project and WPF client based on ABP framework Xamarin.Forms
|
|
|
LightCountry/TokenPay
✅一款同时支持动态和静态收款地址收取TRX、USDT-TRC20、ETH系列区块链所有代币的支付解决方案!✅A payment solution that supports both dynamic and static payee addresses to receive TRX, USDT-TRC20, all tokens of ETH series blockchain!
|
|
|
Decimation/SmartImage
Reverse image search tool (SauceNao, IQDB, Ascii2D, trace.moe, and more)
|
|
|
stratisproject/StratisBitcoinFullNode
Bitcoin full node in C#
|
|
|
duyanming/Viper
Viper 是一个基于Anno微服务引擎开发的Dashboard示例项目。Anno 底层通讯采用 grpc、thrift。自带服务发现、调用链追踪、Cron 调度、限流、事件总线等等
|
|
|
lisongkun/HyggeImaotai
i茅台app接口自动化csharp wpf实现,挂机windows服务器每日自动预约, (╯°□°)╯︵ ┻━┻ 预约启动!
|
|
|
PhantomGamers/SFP
This utility is designed to allow you to apply skins to the modern Steam client
|
|
|
vknet/vk
Vkontakte API for .NET
|
|
|
lofcz/LLMTornado
The .NET library to build AI agents with 25+ built-in connectors.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.2 | 16,040,061 | 1/17/2024 |
| 4.0.1 | 2,111,261 | 1/10/2024 |
| 4.0.0 | 557,536 | 12/14/2023 |
| 4.0.0-pre7 | 5,215 | 12/8/2023 |
| 4.0.0-pre6 | 25,666 | 11/3/2023 |
| 4.0.0-pre5 | 12,523 | 10/22/2023 |
| 4.0.0-pre4 | 11,400 | 10/9/2023 |
| 4.0.0-pre3 | 339,660 | 12/20/2022 |
| 4.0.0-pre2 | 260,169 | 6/20/2022 |
| 4.0.0-pre1 | 61,983 | 6/5/2022 |
| 3.2.4 | 26,478,447 | 5/20/2022 |
| 3.2.4-pre2 | 2,005 | 5/18/2022 |
| 3.2.4-pre1 | 935 | 5/18/2022 |
| 3.2.3 | 1,528,984 | 4/25/2022 |
| 3.2.2 | 4,063,963 | 1/27/2022 |
| 3.2.1 | 325,692 | 1/22/2022 |
| 3.2.0 | 14,278,506 | 5/4/2021 |
| 3.0.1 | 5,005,860 | 12/14/2020 |
| 3.0.0 | 1,497,469 | 11/1/2020 |
| 3.0.0-pre6 | 21,332 | 10/24/2020 |
| 3.0.0-pre5 | 11,973 | 10/1/2020 |
| 3.0.0-pre4 | 18,982 | 8/8/2020 |
| 3.0.0-pre3 | 166,215 | 12/29/2019 |
| 3.0.0-pre2 | 16,314 | 12/15/2019 |
| 3.0.0-pre1 | 16,862 | 11/9/2019 |
| 2.4.2 | 17,996,941 | 4/28/2019 |
| 2.4.1 | 2,624,902 | 2/15/2019 |
| 2.4.0 | 3,146,965 | 9/4/2018 |
| 2.4.0-pre | 2,122 | 8/31/2018 |
| 2.3.2 | 1,629,144 | 7/3/2018 |
| 2.3.1 | 1,056,128 | 4/17/2018 |
| 2.3.0 | 121,912 | 4/5/2018 |
| 2.3.0-pre1 | 2,463 | 3/31/2018 |
| 2.2.1 | 228,904 | 3/8/2018 |
| 2.2.0 | 125,389 | 2/22/2018 |
| 2.2.0-pre2 | 2,353 | 2/19/2018 |
| 2.2.0-pre1 | 1,978 | 2/19/2018 |
| 2.1.1 | 684,057 | 12/19/2017 |
| 2.1.0 | 167,271 | 12/4/2017 |
| 2.1.0-pre | 2,281 | 11/29/2017 |
| 2.0.1 | 294,315 | 10/9/2017 |
| 2.0.0 | 85,417 | 10/6/2017 |
| 2.0.0-pre4 | 2,090 | 10/3/2017 |
| 2.0.0-pre3 | 2,409 | 9/30/2017 |
| 2.0.0-pre2 | 7,003 | 9/7/2017 |
| 2.0.0-pre1 | 2,000 | 9/4/2017 |
| 1.2.0 | 800,761 | 7/21/2017 |
| 1.2.0-pre | 2,173 | 7/18/2017 |
| 1.1.3 | 200,988 | 7/16/2017 |
| 1.1.2 | 367,553 | 2/27/2017 |
| 1.1.1 | 254,232 | 11/29/2016 |
| 1.1.1-pre | 2,457 | 11/24/2016 |
| 1.1.0-pre | 2,092 | 11/21/2016 |
| 1.0.3 | 94,464 | 9/22/2016 |
| 1.0.2 | 18,955 | 9/12/2016 |
| 1.0.1 | 93,272 | 7/31/2016 |
| 1.0.0 | 63,924 | 7/18/2016 |
| 1.0.0-beta9 | 2,025 | 7/17/2016 |
| 1.0.0-beta8 | 2,324 | 7/14/2016 |
| 1.0.0-beta7 | 2,171 | 7/10/2016 |
| 0.10.1 | 151,834 | 5/25/2016 |
| 0.10.0 | 40,643 | 5/15/2016 |
| 0.10.0-pre2 | 2,459 | 5/15/2016 |
| 0.10.0-pre | 2,014 | 5/15/2016 |
| 0.9.0 | 162,043 | 4/21/2016 |
| 0.9.0-pre | 2,237 | 4/21/2016 |
| 0.8.0 | 36,254 | 4/12/2016 |
| 0.8.0-pre | 2,343 | 4/10/2016 |
| 0.7.0 | 476,709 | 9/20/2015 |
| 0.6.4 | 54,372 | 8/18/2015 |
| 0.6.3 | 51,156 | 7/19/2015 |
| 0.6.2 | 39,238 | 6/25/2015 |
| 0.6.1 | 37,220 | 6/11/2015 |
| 0.6.0 | 301,178 | 3/28/2015 |
| 0.5.3 | 34,076 | 3/19/2015 |
| 0.5.2 | 33,809 | 3/17/2015 |
| 0.5.1 | 33,783 | 3/16/2015 |
| 0.5.0 | 44,477 | 2/4/2015 |
| 0.4.2 | 33,875 | 2/2/2015 |
| 0.4.1 | 34,184 | 1/17/2015 |
| 0.4.0 | 34,323 | 12/16/2014 |
| 0.4.0-pre2 | 2,438 | 12/15/2014 |
| 0.4.0-pre | 2,329 | 12/14/2014 |
| 0.3.0-pre | 2,325 | 12/10/2014 |
| 0.2.5 | 34,606 | 12/8/2014 |
| 0.2.4 | 50,499 | 8/29/2014 |
| 0.2.3 | 34,575 | 7/24/2014 |
| 0.2.2 | 33,882 | 7/8/2014 |
| 0.2.1 | 33,955 | 6/19/2014 |
| 0.2.0 | 34,225 | 6/11/2014 |
| 0.2.0-pre | 2,124 | 6/5/2014 |
| 0.1.3 | 33,960 | 5/31/2014 |
| 0.1.2 | 33,914 | 5/12/2014 |
| 0.1.1 | 34,200 | 5/5/2014 |
| 0.1.0 | 63,255 | 5/4/2014 |