Flurl: A Powerful HTTP Client Library
Flurl is a modern URL builder.Building Flurl.Url Implicitly create Flurl.Url objects using string extension methods using Flurl;var url = "https://some-api.com" .AppendPathSegment("endpoint") .SetQueryParams(new { api_key = _config.GetValue<string>("MyApiKey"), max_results = 20, q = "I'll get encoded!" }) .SetFragment("after-hash");// result:// https://some-api.com/endpoint?api_key=xxx&max_results=20&q=I%27ll%20get%20encoded%21#after-hash 2. Create a Url object explicitly; all string extension methods can also be used with System.Uri var … Read more