Skip to main content
RestSharp logo

RestSharp

Simple REST and HTTP API Client for .NET

Serialization

Make calls using XML or JSON body, and receive XML or JSON responses. RestSharp takes care of serializing requests and deserializing responses, as well as adding the correct content type.

Fully async

RestSharp API has an extensive number of async functions to make all sort of HTTP calls. It still provides sync overloads to allow using RestSharp in legacy applications or non-async environments.

Parameters

Whether you want to add a query, a URL, or URL-encoded form parameters, RestSharp allows doing it with one line of code. The same applies to sending files and using multipart forms.