Created
January 19, 2011 00:22
-
-
Save jhollingworth/785440 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var client = new RestClient(); | |
| client.BaseUrl = "http://api.developerdame.com"; | |
| var request = new RestRequest(); | |
| request.Resource = "customers"; | |
| var customers = client.Execute(request).Deserialze<List<Customer>>(); | |
| request = new RestRequest(); | |
| request.Resource = "customers/james"; | |
| var james = client.Execute(request).Deserialze<Customer>(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment