RestSharp 110.2.1-alpha.0.20

RestSharp - Simple .NET REST Client

RestSharp is a lightweight HTTP client library. It's a wrapper around HttpClient, not a full-fledged client on its own.

What RestSharp adds to HttpClient:

  • Default parameters of any kind, not just headers
  • Add a parameter of any kind to requests, like query, URL segment, header, cookie, or body
  • Multiple ways to add a request body, including JSON, XML, and form data
  • Built-in serialization and deserilization of JSON and XML

RestSharp is supported by AWS.

AWS Logo

RestSharp vNext (v107+)

Finally, RestSharp has moved to HttpClient. We also deprecated the following:

  • SimpleJson in favour of System.Text.Json.JsonSerialzer
  • IRestRequest, and IRestResponse in favour of implementing classes
  • Everything Http and IHttp as those are just wrappers

Most of the client and some of the request options are now in RestClientOptions.

Check v107+ docs for more information.

Packages

downloads
stable
preview

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.

Users violated the aforementioned code of conduct will be blocked.

Support

RestSharp is an open-source project with a single maintainer. Do not expect your issue to be resolved unless it concerns a large group of RestSharp users. The best way to resolve your issue is to fix it yourself. Fork the repository and submit a pull request. You can also motivate the maintainer by sponsoring this project.

Contribute

Please read CONTRIBUTING.md for details on the process for reporting issues and submitting pull requests.

Get help

Read the docs: Official Site

Ask a question on StackOverflow with the tag restsharp.

Find RestSharp on Twitter: @RestSharp

Community

.NET Foundation

This project is a part of the .NET Foundation.

Code Contributors

This project exists thanks to all the people who contribute.

Financial Contributors

Become a financial contributor and help us sustain our community. Contribute

License: Apache License 2.0

Showing the top 20 packages that depend on RestSharp.

Packages Downloads
SendGrid
Basic C# client library and examples for using SendGrid API's to send mail. Github repo located at : https://github.com/sendgrid/sendgrid-csharp
8

.NET Framework 4.7.1

.NET Framework 4.8

.NET 6.0

  • No dependencies.

.NET 7.0

  • No dependencies.

.NET 8.0

  • No dependencies.

.NET Standard 2.0

Version Downloads Last updated
110.2.1-alpha.0.20 1 04/27/2024
110.2.1-alpha.0.16 2 10/24/2023
110.2.1-alpha.0.15 2 10/24/2023
110.2.1-alpha.0.13 4 09/27/2023
110.2.1-alpha.0.11 3 09/09/2023
110.2.1-alpha.0.10 3 09/11/2023
110.2.1-alpha.0.9 3 09/26/2023
110.2.1-alpha.0.8 2 09/27/2023
110.2.1-alpha.0.7 2 09/25/2023
110.2.1-alpha.0.6 2 09/24/2023
110.2.1-alpha.0.5 3 09/27/2023
110.2.1-alpha.0.3 2 09/28/2023
110.2.1-alpha.0.2 3 09/11/2023
110.2.1-alpha.0.1 3 09/11/2023
110.2.0 4 09/11/2023
110.1.1-alpha.0.7 3 09/23/2023
110.1.1-alpha.0.6 2 09/25/2023
110.1.1-alpha.0.5 3 09/26/2023
110.1.1-alpha.0.4 5 09/22/2023
110.1.0 3 09/23/2023
110.0.1-alpha.0.4 3 09/26/2023
110.0.1-alpha.0.3 3 09/28/2023
110.0.1-alpha.0.2 2 09/27/2023
110.0.1-alpha.0.1 3 09/29/2023
110.0.0 3 09/27/2023
109.0.2-alpha.0.7 3 09/24/2023
109.0.2-alpha.0.6 3 09/27/2023
109.0.2-alpha.0.5 4 09/23/2023
109.0.2-alpha.0.2 3 09/25/2023
109.0.1 2 10/20/2023
109.0.0 3 10/03/2023
109.0.0-preview.2 2 09/27/2023
109.0.0-preview.1 3 09/27/2023
108.0.4-alpha.0.29 4 09/20/2023
108.0.4-alpha.0.28 3 10/05/2023
108.0.4-alpha.0.27 4 09/26/2023
108.0.4-alpha.0.26 3 10/02/2023
108.0.4-alpha.0.25 3 09/21/2023
108.0.4-alpha.0.22 2 10/05/2023
108.0.4-alpha.0.21 3 09/21/2023
108.0.4-alpha.0.20 3 09/25/2023
108.0.4-alpha.0.19 4 09/20/2023
108.0.4-alpha.0.18 2 09/26/2023
108.0.4-alpha.0.17 3 09/24/2023
108.0.4-alpha.0.16 3 10/17/2023
108.0.3 3 09/18/2023
108.0.3-alpha.0.20 2 09/24/2023
108.0.3-alpha.0.19 3 09/28/2023
108.0.3-alpha.0.18 3 10/03/2023
108.0.3-alpha.0.11 6 09/27/2023
108.0.3-alpha.0.10 3 09/24/2023
108.0.3-alpha.0.9 3 10/02/2023
108.0.3-alpha.0.8 3 09/26/2023
108.0.3-alpha.0.5 4 10/16/2022
108.0.3-alpha.0.4 6 09/25/2022
108.0.2 6 09/23/2022
108.0.2-alpha.0.11 5 09/26/2022
108.0.2-alpha.0.10 8 09/16/2022
108.0.2-alpha.0.9 5 09/23/2022
108.0.2-alpha.0.8 6 09/24/2022
108.0.2-alpha.0.6 8 09/19/2022
108.0.2-alpha.0.5 9 09/19/2022
108.0.2-alpha.0.4 9 09/16/2022
108.0.2-alpha.0.2 8 09/17/2022
108.0.2-alpha.0.1 7 09/17/2022
108.0.1 7 09/17/2022
108.0.1-alpha.0.1 7 09/17/2022
108.0.0 7 09/17/2022
107.3.1-alpha.0.40 11 09/17/2022
107.3.1-alpha.0.39 9 09/23/2022
107.3.1-alpha.0.38 7 09/18/2022
107.3.1-alpha.0.26 6 09/17/2022
107.3.1-alpha.0.24 7 09/23/2022
107.3.1-alpha.0.23 7 09/16/2022
107.3.1-alpha.0.20 8 09/17/2022
107.3.1-alpha.0.19 7 09/17/2022
107.3.1-alpha.0.18 8 09/18/2022
107.3.1-alpha.0.17 8 09/17/2022
107.3.1-alpha.0.16 9 09/18/2022
107.3.1-alpha.0.15 7 09/17/2022
107.3.1-alpha.0.14 6 09/17/2022
107.3.1-alpha.0.13 9 09/16/2022
107.3.1-alpha.0.6 6 09/17/2022
107.3.1-alpha.0.5 7 09/17/2022
107.3.0 8 09/18/2022
107.2.2-alpha.0.7 7 09/18/2022
107.2.2-alpha.0.6 7 09/18/2022
107.2.2-alpha.0.5 7 09/16/2022
107.2.2-alpha.0.1 8 09/17/2022
107.2.1 9 09/16/2022
107.2.1-alpha.0.3 7 09/18/2022
107.2.0 8 09/18/2022
107.1.3-alpha.0.7 6 09/17/2022
107.1.3-alpha.0.6 6 09/18/2022
107.1.3-alpha.0.5 8 09/17/2022
107.1.3-alpha.0.2 6 09/17/2022
107.1.2 7 09/19/2022
107.1.2-alpha.0.19 7 09/20/2022
107.1.2-alpha.0.18 9 09/18/2022
107.1.2-alpha.0.14 7 09/18/2022
107.1.2-alpha.0.13 6 09/17/2022
107.1.2-alpha.0.12 9 09/17/2022
107.1.2-alpha.0.10 6 09/25/2022
107.1.2-alpha.0.9 7 09/16/2022
107.1.2-alpha.0.8 8 09/19/2022
107.1.2-alpha.0.7 5 09/18/2022
107.1.2-alpha.0.4 7 09/17/2022
107.1.2-alpha.0.3 7 09/18/2022
107.1.2-alpha.0.1 7 09/16/2022
107.1.1 7 09/17/2022
107.1.1-alpha.0.3 6 09/17/2022
107.1.1-alpha.0.1 6 09/16/2022
107.1.0 12 09/19/2022
107.0.4-alpha.0.11 6 09/19/2022
107.0.4-alpha.0.9 7 09/16/2022
107.0.4-alpha.0.6 8 09/18/2022
107.0.4-alpha.0.5 8 09/16/2022
107.0.4-alpha.0.4 7 09/16/2022
107.0.3 6 09/19/2022
107.0.3-alpha.0.4 9 09/19/2022
107.0.3-alpha.0.2 8 09/17/2022
107.0.3-alpha.0.1 7 09/18/2022
107.0.2 8 09/17/2022
107.0.2-alpha.0.6 8 09/17/2022
107.0.2-alpha.0.5 7 09/17/2022
107.0.2-alpha.0.4 9 09/17/2022
107.0.2-alpha.0.3 7 09/17/2022
107.0.2-alpha.0.2 6 09/16/2022
107.0.2-alpha.0.1 5 09/16/2022
107.0.1 7 09/19/2022
107.0.1-alpha.0.2 5 09/17/2022
107.0.1-alpha.0.1 6 09/18/2022
107.0.0-preview.20 8 09/20/2022
107.0.0-preview.19 7 09/19/2022
107.0.0-preview.18 9 09/19/2022
107.0.0-preview.17 8 09/17/2022
107.0.0-preview.14 8 09/15/2022
107.0.0-preview.13 6 09/18/2022
107.0.0-preview.12 7 09/15/2022
107.0.0-preview.11 6 09/17/2022
107.0.0-preview.10 7 09/17/2022
107.0.0-preview.9 7 09/17/2022
107.0.0-preview.8 8 09/23/2022
107.0.0-preview.7 8 09/18/2022
107.0.0-preview.6 10 09/18/2022
107.0.0-preview.5 8 09/17/2022
107.0.0-preview.4 7 09/19/2022
107.0.0-preview.2 8 09/17/2022
107.0.0-preview.1 7 09/17/2022
106.15.1-alpha.0.1 7 09/18/2022
106.15.0 9 09/16/2022
106.14.1-alpha.0.2 5 09/21/2022
106.13.0 7 09/19/2022
106.12.0 10 09/18/2022
106.11.8-alpha.0.40 8 09/18/2022
106.11.8-alpha.0.39 6 09/19/2022
106.11.8-alpha.0.34 6 09/18/2022
106.11.8-alpha.0.14 8 09/17/2022
106.11.8-alpha.0.13 7 09/17/2022
106.11.8-alpha.0.12 7 09/19/2022
106.11.8-alpha.0.11 7 09/19/2022
106.11.8-alpha.0.10 6 09/16/2022
106.11.8-alpha.0.7 7 09/18/2022
106.11.8-alpha.0.6 8 09/17/2022
106.11.8-alpha.0.4 7 09/15/2022
106.11.8-alpha.0.3 9 09/25/2022
106.11.8-alpha.0.2 8 09/19/2022
106.11.7 10 09/19/2022
106.11.6-alpha.0.1 8 09/17/2022
106.11.5 9 09/17/2022
106.11.5-alpha.0.21 5 09/18/2022
106.11.5-alpha.0.20 7 09/18/2022
106.11.5-alpha.0.18 7 09/17/2022
106.11.5-alpha.0.17 6 09/22/2022
106.11.5-alpha.0.2 8 09/18/2022
106.11.5-alpha.0.1 7 09/17/2022
106.11.4 9 09/17/2022
106.11.3-alpha.0.6 7 09/16/2022
106.11.3-alpha.0.1 7 09/18/2022
106.11.2 9 09/17/2022
106.11.1-alpha.0.5 7 09/17/2022
106.11.1-alpha.0.1 7 09/19/2022
106.10.2-alpha.0.18 7 09/18/2022
106.10.2-alpha.0.16 6 09/17/2022
106.10.2-alpha.0.15 9 09/19/2022
106.10.2-alpha.0.8 6 09/16/2022
106.10.2-alpha.0.4 8 09/17/2022
106.10.2-alpha.0.3 8 09/22/2022
106.10.1 6 09/16/2022
106.10.1-alpha.0.15 7 09/23/2022
106.10.1-alpha.0.9 9 09/17/2022
106.10.1-alpha.0.8 7 09/16/2022
106.10.0 7 09/17/2022
106.9.1-alpha.0.36 7 09/17/2022
106.9.1-alpha.0.35 6 09/17/2022
106.9.1-alpha.0.34 6 09/17/2022
106.9.1-alpha.0.21 10 09/18/2022
106.9.1-alpha.0.19 8 09/18/2022
106.9.1-alpha.0.18 5 09/16/2022
106.9.1-alpha.0.17 5 09/20/2022
106.9.1-alpha.0.15 6 09/17/2022
106.9.1-alpha.0.11 10 09/17/2022
106.9.1-alpha.0.10 7 09/18/2022
106.9.1-alpha.0.3 8 09/17/2022
106.9.0 8 09/17/2022
106.8.10-alpha.0.15 9 09/18/2022
106.8.10-alpha.0.13 6 09/19/2022
106.8.10-alpha.0.12 7 09/18/2022
106.8.10-alpha.0.11 7 09/17/2022
106.8.10-alpha.0.10 6 09/19/2022
106.8.10-alpha.0.9 7 09/19/2022
106.8.10-alpha.0.8 7 09/19/2022
106.8.10-alpha.0.7 8 09/16/2022
106.8.10-alpha.0.4 8 09/17/2022
106.8.10-alpha.0.3 5 09/19/2022
106.8.0 8 09/17/2022
106.7.1-alpha.0.22 10 09/17/2022
106.7.1-alpha.0.21 8 09/19/2022
106.7.1-alpha.0.20 8 09/17/2022
106.6.10 8 09/19/2022
106.6.9 9 09/18/2022
106.6.7 11 09/17/2022
106.6.6 8 09/19/2022
106.6.5 8 09/17/2022
106.6.4 9 09/18/2022
106.6.3 8 09/17/2022
106.6.2 9 09/22/2022
106.5.4 7 09/17/2022
106.5.3 8 09/17/2022
106.5.2 8 09/18/2022
106.5.1 9 09/17/2022
106.5.0 6 09/17/2022
106.4.2 9 09/19/2022
106.4.1 9 09/17/2022
106.4.0 9 09/16/2022
106.3.1 7 09/17/2022
106.3.0 8 09/17/2022
106.2.2 8 09/17/2022
106.2.1 7 09/20/2022
106.2.0 10 09/16/2022
106.2.0-alpha0060 6 09/18/2022
106.2.0-alpha0032 10 09/19/2022
106.2.0-alpha0025 6 09/16/2022
106.1.0 6 09/25/2022
106.1.0-alpha0038 8 09/16/2022
106.0.1 9 09/17/2022
106.0.0 9 09/16/2022
106.0.0-alpha0284 7 09/17/2022
106.0.0-alpha0282 6 09/18/2022
106.0.0-alpha0277 5 09/16/2022
105.2.3 11 09/17/2022
105.2.2 7 09/18/2022
105.2.1 7 09/17/2022
105.1.0 11 09/16/2022
105.0.1 9 09/17/2022
105.0.0 8 09/17/2022
104.5.0 9 09/16/2022
104.4.0 10 09/18/2022
104.3.3 7 09/17/2022
104.2.0 7 09/17/2022
104.1.0 9 09/18/2022
104.0.0 9 09/18/2022