Discussions
Try It feature in the API reference
over 2 years ago by Don Glover
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.