Top "Restsharp" questions

RestSharp is a simple to use REST client library for .NET

RestSharp Deserialization with JSON Array

I have a JSON response that I'm trying to deserialize with RestSharp, and it looks like this: {"devices":[{"device":{"id":7,"…

c# json restsharp
Request timeout from ASP.NET Core app on IIS

I make a web request to a third-party api from my ASP.NET Core application. When app is running alone …

iis asp.net-core restsharp
In C#, how do I model a JSON object with multiple nested arrays?

I am getting this JSON response from a system I am connecting to and trying to figure out the best …

c# json parsing restsharp jsonserializer
Example of RestSharp ASYNC client.ExecuteAsync<T> () works

Could someone please help me modify the code below: client.ExecuteAsync(request, response => { Console.WriteLine(response.Content); }); Basically I …

c# restsharp
How do I install and setup RESTSharp without NuGet?

I am using Visual Studio C# 2010 Express and is learning. RESTSharp is supposed to be installed by NuGet but NuGet …

c# .net restsharp
How do I use the cookie container with RestSharp and ASP.NET sessions?

I'd like to be able to call an authentication action on a controller and if it succeeds, store the authenticated …

c# asp.net asp.net-mvc restsharp
RestSharp get full URL of a request

Is there a way to get the full url of a RestSharp request including its resource and querystring parameters? I.…

c# asp.net .net restsharp
How can I catch exceptions with RestSharp

I am working on a project with RestSharp. Over time I discovered several exceptions that RestResponse class can throw, most …

c# exception restsharp
Can RestSharp send binary data without using a multipart content type?

I have been using AddParameter to include XML bodies in my HTTP requests: request.AddParameter(contentType, body, ParameterType.RequestBody); However, …

c# restsharp
How to RestSharp add client certificate in Https request? (C#)

How to RestSharp add client certificate in Https request ? My code it doesn't work . public static IRestResponse<User> …

c# ssl x509certificate restsharp