About 285,000 results
Open links in new tab
  1. c# - RestSharp simple complete example - Stack Overflow

    Feb 17, 2016 · The RestSharp GitHub page has quite an exhaustive sample halfway down the page. To get started install the RestSharp NuGet package in your project, then include the …

  2. How to use RestSharp.NetCore in asp.net core - Stack Overflow

    Dec 30, 2016 · RestSharp v106 supports .NET Standard so your code should work without changes. RestSharp.NetCore package is not from RestSharp team and is not supported by us.

  3. How to POST request using RestSharp - Stack Overflow

    I m trying to POST the request using RestSharp client as follows I m passing the Auth Code to following function public void ExchangeCodeForToken(string code)

  4. c# - How to use RestSharp with async/await - Stack Overflow

    I'm struggling to find a modern example of some asynchronous C# code that uses RestSharp with async and await. I know there's been a recent update by Haack but I don't know how to use …

  5. c# - .NET Core - HttpClient vs RestSharp - Stack Overflow

    Jan 8, 2020 · Unless RestSharp uses raw sockets, it uses HttpClient eventually - in .NET Core HttpWebRequest was rewritten to use HttpClient

  6. How to add text to request body in RestSharp - Stack Overflow

    I'm trying to use RestSharp to consume a web service. So far everything's gone very well (cheers to John Sheehan and all contributors!) but I've run into a snag. Say I want to insert XML into …

  7. Deserializing a json string with restsharp - Stack Overflow

    I have a string that comes out of a database which is in Json format. I have tried to deserialize it with: RestSharp.Deserializers.JsonDeserializer deserial = new JsonDeserializer(); var x = dese...

  8. Set 'Content-Type' header using RestSharp - Stack Overflow

    I'm not familiar with RestSharp, but I would use Fiddler to inspect the request to be sure about what RestSharp IS passing. It may be that the Content-Type header has already been added …

  9. c# - RestSharp and resilient http requests - Stack Overflow

    Nov 10, 2022 · RestSharp and resilient http requests Asked 2 years, 11 months ago Modified 2 years, 11 months ago Viewed 2k times

  10. https - RestSharp - Ignore SSL errors - Stack Overflow

    Oct 26, 2020 · Is there any whay that I can get RestSharp to ignore errors in SSL certificates? I have a test client, and the service I connect to does not yet have a valid cetificate. When I …