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
The AI workplace management platform Icon
The AI workplace management platform

Plan smart spaces, connect teams, manage assets, and get insights with the leading AI-powered operating system for the built world.

By combining AI workflows, predictive intelligence, and automated insights, OfficeSpace gives leaders a complete view of how their spaces are used and how people work. Facilities, IT, HR, and Real Estate teams use OfficeSpace to optimize space utilization, enhance employee experience, and reduce portfolio costs with precision.
Learn More
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