Description
Tiny.RestClient is a fluent REST client library for .NET that handles calls to an API, including sending requests and turning responses into objects. It targets .NET Standard 2.0 and 2.1, .NET 8.0 and .NET 10.0, so it works in Blazor and ASP.NET Core projects. It supports GET, POST, PUT, DELETE and PATCH as well as custom verbs, ETags, multipart form data, file upload and download, and a cancellation token on every request. Responses are serialized and deserialized as JSON or XML automatically, with camelCase, snake_case and kebab-case naming for JSON, and you can plug in your own serializer. Errors come back as typed exceptions, and timeouts can be set globally or per request, with a timeout exception kept separate from user cancellation. The library can log every request and the time each response takes, export requests to a Postman collection, print cURL commands in debug output, and use basic or OAuth2 authentication. Server-Sent Events streaming is available on the newer targets. It is aimed at .NET developers who want a simpler alternative to writing HttpClient code by hand.…
Highlights
- Fluent async client for GET, POST, PUT, PATCH and DELETE
- Automatic JSON and XML serialization
- File upload and download with multipart forms
- Per-request timeouts with typed exceptions
- Postman export and cURL debug output
Ratings & Reviews
No ratings yet
Be the first to rate Tiny.RestClient.
People also visit
DalSoft.RestClient
The C# REST Client - the only REST/ HTTP Client you will ever need
Tiny.RestClient FAQ
What is Tiny.RestClient?
A fluent REST client library for .NET that handles calling APIs and serializing their data.
Which .NET versions does it support?
.NET Standard 2.0 and 2.1, .NET 8.0 and .NET 10.0, and newer runtimes such as Blazor and ASP.NET Core.
Does it support authentication?
Yes. The README lists basic authentication and OAuth2.
Can I export my requests?
Yes. Requests can be exported to a Postman collection, and debug output can show the equivalent cURL commands.
Where is the source?
On GitHub at jgiacomini/Tiny.RestClient.
What are the best Tiny.RestClient alternatives?
Popular alternatives to Tiny.RestClient include Flurl, Restclient CPP and Httpful. See all Tiny.RestClient alternatives




