C# Class OakIdeas.SinglySharp.Rest.Request

Mostrar archivo Open project: oakcool/OakIdeas.SinglySharp

Public Methods

Method Description
DeleteRequest ( string resource ) : RestRequest

Builds a delete request

GetRequest ( string resource ) : RestRequest

Builds a get request

PostRequest ( string resource ) : RestRequest

Builds a post request

UpdateRequest ( string resource ) : RestRequest

Builds a update request

Method Details

DeleteRequest() public static method

Builds a delete request
public static DeleteRequest ( string resource ) : RestRequest
resource string The URL resource that you are trying to reach
return RestSharp.RestRequest

GetRequest() public static method

Builds a get request
public static GetRequest ( string resource ) : RestRequest
resource string The URL resource that you are trying to reach
return RestSharp.RestRequest

PostRequest() public static method

Builds a post request
public static PostRequest ( string resource ) : RestRequest
resource string The URL resource that you are trying to reach
return RestSharp.RestRequest

UpdateRequest() public static method

Builds a update request
public static UpdateRequest ( string resource ) : RestRequest
resource string The URL resource that you are trying to reach
return RestSharp.RestRequest