DEV Community 👩‍💻👨‍💻

Max Angelo Dapitilla Perin
Max Angelo Dapitilla Perin

Posted on

Answer: IRestResponse could not be found

As per the documentation ( ...

The IRestResponse interface is deprecated. You get an instance of RestResponse or RestResponse<T> in return.

Again, according to the documentation ...

var client = new RestClient("")
var request = new RestRequest()
    .AddQueryParameter("foo", "bar")

var response = await client.PostAsync<MyResponse>(request, cancellationToken);

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Just kidding, it's a personal preference. But you can change your theme, font, etc. in your settings.

The more you know. 🌈