Discussions

Ask a Question
Back to All

Try It feature in the API reference

The c# code generator outputs code that contains the line

IRestResponse response = client.Execute(request);

According to the RestSharp site IRestResponse is deprecated (and in fact appears to be removed from the package)

https://restsharp.dev/v107/#making-requests

Also, it appears that RestRequest no longer takes the method as a parameter.