Flurl.Http 4.0.2 (original) (raw)
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 | 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 (799)
Showing the top 5 NuGet packages that depend on Flurl.Http:
| Package | Downloads |
|---|---|
| Reo.Core.Hosting Package Description | 7.1M |
| Flurl.Http.Newtonsoft A Newtonsoft-based JSON serializer for Flurl.Http 4.0 and above. | 5.7M |
| Reo.Core.IdentityModel Package Description | 3.5M |
| Reo.Core.AutoHistory Package Description | 3.1M |
| Reo.Core.Database Package Description | 2.7M |
GitHub repositories (64)
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. | 10.9K |
| Ponderfly/GoogleTranslateIpCheck 扫描国内可用的谷歌翻译IP | 5.1K |
| Megabit/Blazorise Blazorise is a component library built on top of Blazor with support for CSS frameworks like Bootstrap, Tailwind, Bulma, AntDesign, and Material. | 3.5K |
| Azure-Samples/cognitive-services-speech-sdk Sample code for the Microsoft Cognitive Services Speech SDK | 3.4K |
| ONLYOFFICE/CommunityServer Free open source office suite with business productivity tools: document and project management, CRM, mail aggregator. | 3.1K |
| ArduPilot/MissionPlanner Mission Planner Ground Control Station for ArduPilot (c# .net) | 2.3K |
| fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat 可能是全网最完整的 C# 版微信 SDK,封装全部已知的微信 OpenAPI,包含微信公众平台(订阅号+服务号+小程序+小游戏+小商店+视频号)、微信开放平台、微信商户平台(微信支付+微企付)、企业微信、微信广告平台、微信智能对话开放平台等模块,可跨平台。持续随官方更新,欢迎 Star/Fork/PR。QQ 交流群 875580418【满】、930461548【满】、611974621。 | 1.9K |
| CoreUnion/CoreShop 基于 Asp.Net Core 9.0、Uni-App开发,支持可视化布局的小程序商城系统,前后端分离,支持分布式部署,跨平台运行,拥有分销、代理、团购、拼团、秒杀、直播、优惠券、自定义表单等众多营销功能,拥有完整SKU、下单、售后、物流流程。支持一套代码编译发布微信小程序版、H5版、Android版、iOS版、支付宝小程序版、字节跳动小程序版、QQ小程序版等共10个平台。 | 1.4K |
| micahmo/WgServerforWindows Wg Server for Windows (WS4W) is a desktop application that allows running and managing a WireGuard server endpoint on Windows | 1.4K |
| grandnode/grandnode2 E-commerce platform built with ASP.NET Core using MongoDB for NoSQL storage | 1.3K |
| 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! | 1.1K |
| Decimation/SmartImage Reverse image search tool (SauceNao, IQDB, Ascii2D, trace.moe, and more) | 1.0K |
| HenJigg/wpf-abp Cross-platform mobile project and WPF client based on ABP framework Xamarin.Forms | 990 |
| stratisproject/StratisBitcoinFullNode Bitcoin full node in C# | 785 |
| duyanming/Viper Viper 是一个基于Anno微服务引擎开发的Dashboard示例项目。Anno 底层通讯采用 grpc、thrift。自带服务发现、调用链追踪、Cron 调度、限流、事件总线等等 | 753 |
| lisongkun/HyggeImaotai i茅台app接口自动化csharp wpf实现,挂机windows服务器每日自动预约, (╯°□°)╯︵ ┻━┻ 预约启动! | 730 |
| PhantomGamers/SFP This utility is designed to allow you to apply skins to the modern Steam client | 639 |
| lofcz/LLMTornado The .NET library to build AI agents with 30+ built-in connectors. | 617 |
| vknet/vk Vkontakte API for .NET | 571 |
| yoshiask/FluentStore A unifying frontend for Windows app stores and package managers | 535 |
Include prerelease
Include vulnerable
Include deprecated
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.2 | 21,731,054 | 1/17/2024 |
| 4.0.1 | 2,971,289 | 1/10/2024 |
| 4.0.0 | 651,477 | 12/14/2023 |
| 4.0.0-pre7 | 5,284 | 12/8/2023 |
| 4.0.0-pre6 | 59,057 | 11/3/2023 |
| 4.0.0-pre5 | 12,766 | 10/22/2023 |
| 4.0.0-pre4 | 11,968 | 10/9/2023 |
| 4.0.0-pre3 | 385,563 | 12/20/2022 |
| 4.0.0-pre2 | 269,347 | 6/20/2022 |
| 4.0.0-pre1 | 63,389 | 6/5/2022 |
| 3.2.4 | 28,940,624 | 5/20/2022 |
| 3.2.4-pre2 | 2,082 | 5/18/2022 |
| 3.2.4-pre1 | 992 | 5/18/2022 |
| 3.2.3 | 1,587,950 | 4/25/2022 |
| 3.2.2 | 4,263,230 | 1/27/2022 |
| 3.2.1 | 379,517 | 1/22/2022 |
| 3.2.0 | 15,903,815 | 5/4/2021 |
| 3.0.1 | 5,180,276 | 12/14/2020 |
| 3.0.0 | 1,591,807 | 11/1/2020 |
| 3.0.0-pre6 | 21,949 | 10/24/2020 |