RestSharp is probably the most popular HTTP client library for .NET. Featuring automatic serialization and deserialization, request and response type detection, variety of authentications and other useful features, it is being used by hundreds of thousands of projects. RestSharp passed over 32 million downloads on NuGet, with average daily download count of 10,000. It's being used by many popular OSS projects, including Roslyn and Swagger. The main purpose of RestSharp is to make synchronous and asynchronous calls to remote resources over HTTP. As the name suggests, the main audience of RestSharp are developers who use REST APIs. However, RestSharp can call any API over HTTP (but not HTTP/2), as long as you have the resource URI and request parameters that you want to send comply with W3C HTTP standards. RestSharp can take care of serializing the request body to JSON or XML and deserialize the response. It can also form a valid request URI based on different parameter kinds.

Features

  • JSON, XML and custom serialization and deserialization
  • Variety of overloads to make synchronous and asynchronous HTTP calls
  • Almost every aspect of an HTTP call can be customized
  • Basic, OAuth 1, OAuth 2, JWT, NTLM are supported, or write your own!
  • Send objects as the request body in JSON or XML, or as a form. Upload and download files as bytes or as streams
  • Add query, URL segment, body, form or header parameter using an easy and fluent API

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow RestSharp

RestSharp Web Site

Other Useful Business Software
Passwordless Authentication and Passwordless Security Icon
Passwordless Authentication and Passwordless Security

Identity is everything. Protect it with Duo.

It’s no secret — passwords can be a real headache, both for the people who use them and the people who manage them. Over time, we’ve created hundreds of passwords, it’s easy to lose track of them and they’re easily compromised. Fortunately, passwordless authentication is becoming a feasible reality for many businesses. Duo can help you get there.
Get a Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of RestSharp!

Additional Project Details

Programming Language

C#

Related Categories

C# HTTP Clients, C# JSON Serialization Libraries, C# XML Serialization Libraries, C# API Clients

Registered

2021-07-06