Top "Restsharp" questions

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

RestSharp simple complete example

I've been trying to create a simple prototype web application that uses RestSharp to call Rest API. I've not been …

c# rest restsharp
RestSharp JSON Parameter Posting

I am trying to make a very basic REST call to my MVC 3 API and the parameters I pass in …

c# json asp.net-mvc-3 rest restsharp
Converting a JToken (or string) to a given Type

TL;DR Version I have a object of type JToken (but can also be a string) and I need to …

c# windows-phone-7 json.net restsharp
How to POST request using RestSharp

I m trying to POST the request using RestSharp client as follows I m passing the Auth Code to following …

c# windows-phone-7 restsharp
How do I get an OAuth 2.0 authentication token in C#

I have these settings: Auth URL (which happens to be a "https://login.microsoftonline.com/...") if that helps. Access Token …

c# oauth-2.0 restsharp
Set 'Content-Type' header using RestSharp

I'm building a client for an RSS reading service. I'm using the RestSharp library to interact with their API. The …

c# http-headers restsharp
Deserializing a json string with newtonsoft or restsharp

I have a string that comes out of a database which is in Json format. I have tried to deserialize …

c# json rest asp.net-web-api restsharp
How to use RestSharp with async/await

I'm struggling to find a modern example of some asynchronous C# code that uses RestSharp with async and await. I …

c# .net asynchronous async-await restsharp
RestSharp Post a JSON Object

I am trying to post the following JSON with RestSharp: {"UserName":"UAT1206252627", "SecurityQuestion":{ "Id":"Q03", "Answer":"Business", "Hint":"The answer …

c# json restsharp
How to add text to request body in RestSharp

I'm trying to use RestSharp to consume a web service. So far everything's gone very well (cheers to John Sheehan …

.net xml restsharp