Skip to content

CSharp RestSharp snippets use a type IRestResponse which is not valid #367

@michaelgwelch

Description

@michaelgwelch

Perhaps this is related to changes in the library but this line of code

IRestResponse response = client.Execute(request);

no longer compiles with latest version of RestSharp.

I recommend just changing to

var response = client.Execute(request);

and will submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions