Description
Flurl is a fluent URL builder and HTTP client library for .NET. It is asynchronous and portable, and it runs everywhere .NET runs. You build URLs step by step by appending path segments and setting query parameters, then send requests and receive JSON in a single chain, and you can add a bearer token for OAuth. Flurl manages one HttpClient instance per host to avoid common connection problems. Its testing support lets you fake and record HTTP calls inside a test: you set up a response, run the code under test and then assert that a call with a given verb, URL pattern and content type was made. The library is available on NuGet as Flurl for the URL builder and Flurl.Http for the full HTTP client. The project says it is free for commercial use and is released under the MIT licence.…
Highlights
- Fluent URL building in .NET
- Async HTTP client with JSON support
- Built-in fake and assert HTTP testing
- One HttpClient per host
- MIT licensed, free for commercial use
Ratings & Reviews
No ratings yet
Be the first to rate Flurl.
People also visit
Flurl FAQ
What is Flurl?
It is a fluent URL builder and asynchronous HTTP client library for .NET, with built-in support for testing.
How do I install it?
Install Flurl from NuGet for the URL builder, or Flurl.Http for the full HTTP client.
Is it free?
Yes. The project says it is free for commercial use and is released under the MIT licence.
Can I test code that makes HTTP calls?
Yes. The HttpTest helper fakes responses and lets you assert the calls that were made.
What are the best Flurl alternatives?
Popular alternatives to Flurl include Tiny.RestClient, FluentFTP and Httpful. See all Flurl alternatives



