Rest.Net 2.2.2

Install-Package Rest.Net -Version 2.2.2
dotnet add package Rest.Net --version 2.2.2
<PackageReference Include="Rest.Net" Version="2.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rest.Net --version 2.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Rest.Net, 2.2.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Rest.Net as a Cake Addin
#addin nuget:?package=Rest.Net&version=2.2.2

// Install Rest.Net as a Cake Tool
#tool nuget:?package=Rest.Net&version=2.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

A simple to use REST client for .NET Core

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Rest.Net:

Package Downloads

An unofficial .NET Core SDK for Facebook API


Package Description


A library for sending metrics to Google Analytics to keep statistics of .NET apps

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.2.2 1,861 3/15/2020
2.2.1 8,037 10/7/2019
2.2.0 356 9/10/2019
2.1.1 1,581 8/4/2019
2.1.0 275 8/4/2019
2.0.1 4,714 3/3/2018
2.0.0 796 8/16/2017
1.0.6 3,052 6/24/2017
1.0.5 575 6/24/2017
1.0.4 618 6/23/2017
1.0.3 656 6/18/2017
1.0.2 666 6/8/2017
1.0.1 673 5/24/2017
1.0.0 1,767 12/6/2016

Fix OAuth2Authenticator bug that throws exception when 404 is returned

Add innerProperty ability to for PUT, POST, DELETE actions

- New PathBuilder method will now make sure that all URL are valid, even if a path or base path lacks the backslash char ('/').
- Additional methods and properties documentations.
- Redirect bug fix.
- Same client can now handle multiple cuncurrent calls.
- Anonymous object support when using ExecuteAsync.
- Setting call authentication - allows auto authentication handling.
- OAuth2 authenticator.

Major refactoring.
Library is not more async and opinionated - Working with tasks is now completly async.
Remove unneeded overloads and code making the library smaller and more lightweight.
Support for internal response properties serialization.
Support returning anonymous types as result from an API call.

Change the request AddContent to SetContent to be more explicit about what this method actually does (add implies that more Content can later be added, but in reality it overrides existing Content).

Update to .NET Standard 2.0.
Library version also updated to 2.0.0 to be consisted with the new 2.0.
For erlier .NET Core or .NET Standard versions, use version < 2.0.0

Minor bug fix

Minor bug fix
Allow using a base url with a relative path in it

Fix bug with authorization header setup

Fix bug that's causing a string response to raise an error flag