Discussions

Ask a Question
Back to All

API code handed out appears incompatible with RestSharp 107

The C# API code for Dialpad Number List appears entirely wrong when used with latest version of RestSharp which is 107

Some problems:
a. the deprecate request.AddHeader
b. IRestResponse does not exist anymore
c. There is not RestClient.Execute method in the latest RestSharp.

Here are the docs, more information about porting:
https://restsharp.dev/v107/#headers

Any chance to have Dialpad get the dialpad C# API ported to work with the latest RestSharp? I don't like having to use old packages.

I am also not sure what version of RestSharp I should go back to.