All Projects → MelbourneDeveloper → Restclient.net

MelbourneDeveloper / Restclient.net

Licence: mit
.NET REST Client Framework for all platforms

Programming Languages

csharp
926 projects

Projects that are alternatives of or similar to Restclient.net

Http Rpc
Lightweight REST for Java
Stars: ✭ 298 (+108.39%)
Mutual labels:  rest, json, xml
Restc Cpp
Modern C++ REST Client library
Stars: ✭ 371 (+159.44%)
Mutual labels:  rest, rest-client, json
Xidel
Command line tool to download and extract data from HTML/XML pages or JSON-APIs, using CSS, XPath 3.0, XQuery 3.0, JSONiq or pattern matching. It can also create new or transformed XML/HTML/JSON documents.
Stars: ✭ 335 (+134.27%)
Mutual labels:  rest, json, xml
Cppwebframework
​The C++ Web Framework (CWF) is a MVC web framework, Open Source, under MIT License, using C++ with Qt to be used in the development of web applications.
Stars: ✭ 348 (+143.36%)
Mutual labels:  rest, json, xml
Restclient
🦄 Simple HTTP and REST client for Unity based on Promises, also supports Callbacks! 🎮
Stars: ✭ 675 (+372.03%)
Mutual labels:  rest, rest-client, json
Horaires Ratp Api
Webservice pour les horaires et trafic RATP en temps réel
Stars: ✭ 232 (+62.24%)
Mutual labels:  rest, json, xml
Node Rest Client
REST API client from node.js
Stars: ✭ 365 (+155.24%)
Mutual labels:  rest, json, xml
Tiny.restclient
Simpliest Fluent REST client for .NET
Stars: ✭ 158 (+10.49%)
Mutual labels:  rest-client, xamarin, uwp
Rest Assured
Java DSL for easy testing of REST services
Stars: ✭ 5,646 (+3848.25%)
Mutual labels:  rest, json, xml
Refit
The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your REST API into a live interface.
Stars: ✭ 5,545 (+3777.62%)
Mutual labels:  json, xml, xamarin
Wiremock
A tool for mocking HTTP services
Stars: ✭ 4,790 (+3249.65%)
Mutual labels:  rest, json, xml
Fastapi
FastAPI framework, high performance, easy to learn, fast to code, ready for production
Stars: ✭ 39,588 (+27583.92%)
Mutual labels:  rest, async, json
Ps Webapi
(Migrated from CodePlex) Let PowerShell Script serve or command-line process as WebAPI. PSWebApi is a simple library for building ASP.NET Web APIs (RESTful Services) by PowerShell Scripts or batch/executable files out of the box.
Stars: ✭ 24 (-83.22%)
Mutual labels:  rest, json, xml
Fetch Plus
🐕 Fetch+ is a convenient Fetch API replacement with first-class middleware support.
Stars: ✭ 116 (-18.88%)
Mutual labels:  rest, json, xml
Snodge
Randomly mutate JSON, XML, HTML forms, text and binary data for fuzz testing
Stars: ✭ 121 (-15.38%)
Mutual labels:  json, xml
Finch
Scala combinator library for building Finagle HTTP services
Stars: ✭ 1,552 (+985.31%)
Mutual labels:  rest, json
Arcgis Toolkit Dotnet
Toolkit for ArcGIS Runtime SDK for .NET
Stars: ✭ 125 (-12.59%)
Mutual labels:  xamarin, uwp
Smoke
💨 Simple yet powerful file-based mock server with recording abilities
Stars: ✭ 142 (-0.7%)
Mutual labels:  rest, json
Htmllabelplugin
Use this Xamarin.Forms plugin to display HTML content into a label.
Stars: ✭ 119 (-16.78%)
Mutual labels:  xamarin, uwp
Scobot
SCORM API for Content. JavaScript library, QUnit tests and examples.
Stars: ✭ 128 (-10.49%)
Mutual labels:  json, xml

diagram

.NET REST Client Framework for all platforms

Follow Me on Twitter for Updates

The best .NET REST Client with task-based async, strong types and dependency injection on all platforms. Consume your ASP .NET Core Web APIs or consume RESTful APIs over the internet in C# or Visual Basic.

.NET Core

Documentation Here

Announcement

Version 4.0.0 has been released!

Check out the features and fixes. There are some breaking changes. IHttpClientFactory and IClientFactory have been converted to delegates to save on boilerplate code.

Check out blog posts here https://christianfindlay.com/

Why You Should Use It

  • It's fast! Initial tests show that it is faster than RestSharp and is one of the faster .NET Rest Clients available.
  • Designed for Dependency Injection, Unit Testing and use with IoC Containers
  • Async friendly. All operations use async, await keywords.
  • Integrates with Polly resilience and transient-fault-handling
  • Automatic serialization with any method (JSON, Binary, SOAP, Google Protocol Buffers)
  • Installation from NuGet is easy on any platform
  • Uses strong types with content body
  • Supports WebAssembly, Android, iOS, Windows 10, .NET Framework 4.5+, .NET Core (.NET Standard 2.0)
  • Supports GET, POST, PUT, PATCH, DELETE with ability to use less common HTTP methods

These features together make this the best C# REST client and the best alternative to RestSharp. Consuming REST APIs is simple and encourages best practice.

Quick Start & Samples

See documentation for more examples.

NuGet: Install-Package RestClient.NET

Please read this article about Serialization and Deserialization.

Get

With Newtonsoft serialization

var client = new Client(new NewtonsoftSerializationAdapter(), new Uri("https://restcountries.eu/rest/v2/"));
var response = await client.GetAsync<List<RestCountry>>();

With default serialization on .NET Core

var client = new Client(new Uri("https://restcountries.eu/rest/v2/"));
var response = await client.GetAsync<List<RestCountry>>();

Post / Put / Patch

Protocol Buffers (Binary)

var person = new Person { FirstName = "Bob", Surname = "Smith" };
var client = new Client(new ProtobufSerializationAdapter(), new Uri("http://localhost:42908/person"));
person = await client.PostAsync<Person, Person>(person);

JSON

var client = new Client(new NewtonsoftSerializationAdapter(), new Uri("https://jsonplaceholder.typicode.com"));
client.SetJsonContentTypeHeader();
UserPost userPost = await client.PostAsync<UserPost, UserPost>(new UserPost { title = "Title" }, "/posts");

Delete

var client = new Client(new NewtonsoftSerializationAdapter(), new Uri("https://jsonplaceholder.typicode.com"));
await client.DeleteAsync("posts/1");

Donate

Coin Address
Bitcoin 33LrG1p81kdzNUHoCnsYGj6EHRprTKWu3U
Ethereum 0x7ba0ea9975ac0efb5319886a287dcf5eecd3038e

Contribution

Please log any issues or feedback in the issues section. For pull requests, please see the contribution guide.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].