Skip to content

Instantly share code, notes, and snippets.

@lupos
Created December 5, 2012 22:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lupos/4220069 to your computer and use it in GitHub Desktop.
Save lupos/4220069 to your computer and use it in GitHub Desktop.
public Account GetAccountByUri(string account_uri, string emailAddress)
{
Require.Argument("email_address", emailAddress);
var request = new RestRequest(Method.POST) { Resource = account_uri };
request.AddParameter("email_address", emailAddress, ParameterType.GetOrPost);
return Execute<Account>(request);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment