EasyHttp alternatives and similar packages
Based on the "HTTP" category.
Alternatively, view EasyHttp alternatives based on common mentions on social networks and blogs.
-
Refit
The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your REST API into a live interface. -
FastEndpoints
DISCONTINUED. A light-weight REST API development framework for ASP.Net 6 and newer. [Moved to: https://github.com/FastEndpoints/Library] -
RestEase
Easy-to-use typesafe REST API client library for .NET Standard 1.1 and .NET Framework 4.5 and higher, which is simple and customisable. Inspired by Refit -
Apizr
Refit based web api client management, but resilient (retry, connectivity, cache, auth, log, priority, etc...) -
Fluxzy.Core
Fast and fully streamed Man-On-The-Middle library and a CLI app to intercept, record, impersonate and alter HTTP/1.1, H2, websocket traffic over plain or secure channels. -
Lib.Net.Http.WebPush
Lib.Net.Http.WebPush is a library which provides a Web Push Protocol based client for Push Service. -
Lib.Net.Http.EncryptedContentEncoding
Lib.Net.Http.EncryptedContentEncoding is a library which adds Encrypted Content-Encoding (aes128gcm) support to HttpClient
Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of EasyHttp or a related project?
README
Project Status
This project is active and maintained by David Alpert.
EasyHttp
An easy to use HTTP client that supports:
- HEAD, PUT, DELETE, GET, POST
- Cookies
- Authentication
- Dynamic and Static Typing
- XML, JSON and WWW-Url form encoded encoding/decoding
- File upload both via PUT and POST (multipart/formdata)
- Some other neat little features....
License
Licensed under Modified BSD (i.e. pretty much MIT).
For full License and included software licenses please see LICENSE.TXT
Please log all issues here: http://youtrack.codebetter.com/issues/EHTTP
Installation
You can either download the source and compile or use nuget at http://nuget.org. To install with nuget:
Install-Package EasyHttp
Documentation
The documentation can be found on the wiki.
Usage
Using static types
To post/put a customer to some service:
var customer = new Customer();
customer.Name = "Joe";
customer.Email = "[email protected]";
var http = new HttpClient();
http.Post("url", customer, HttpContentTypes.ApplicationJson);
To get some data in JSON format:
var http = new HttpClient();
http.Request.Accept = HttpContentTypes.ApplicationJson;
var response = http.Get("url");
var customer = response.StaticBody<Customer>();
Console.WriteLine("Name: {0}", customer.Name);
Using dynamic types
To post/put a customer to some service:
var customer = new ExpandoObject(); // Or any dynamic type
customer.Name = "Joe";
customer.Email = "[email protected]";
var http = new HttpClient();
http.Post("url", customer, HttpContentTypes.ApplicationJson);
To get some data in JSON format:
var http = new HttpClient();
http.Request.Accept = HttpContentTypes.ApplicationJson;
var response = http.Get("url");
var customer = response.DynamicBody;
Console.WriteLine("Name {0}", customer.Name);
Both in Static and Dynamic versions, hierarchies are supported.
Perform a get with parameters
To get some data from a service
var http = new HttpClient();
http.Get("url", new {Name = "test"});
Should translate to the following url being passed. url?Name=test the value will be urlencoded.
To get some data in JSon format.
var http = new HttpClient();
http.Request.Accept = HttpContentTypes.ApplicationJson;
http.Get("url", new {Name = "test"});
Serialization / Deserialization Conventions
For serialization / deserialization, you can use pretty much any type of naming convention, be it Propercase, CamelCase, lowerCamelCase, with_underscores, etc. If for some reason, your convention is not picked up, you can always decorate the property with an attribute:
[JsonName("mycustomname")]
public string SomeWeirdCombination { get; set; }
Credits
Copyright (c) 2010 - 2017 Hadi Hariri and Project Contributors
JsonFX: Licensed under MIT. EasyHttp uses the awesome JsonFX library at http://github.com/jsonfx
*Note that all licence references and agreements mentioned in the EasyHttp README section above
are relevant to that project's source code only.