{"totalPages":"1","currentPage":"1","nextPage":"","search":"","tag":"","indexPage":"",
"askLabel":"Ask me anything",
"submitLabel":"Submit",
"searchLabel":"Search",
"posts":{
"5769629702":{"id":"5769629702","date":"2011-05-23","noteCount": "18 notes","url":"http://musicismyeverest.tumblr.com/post/5769629702/restsharp-simple-rest-and-http-api-client-for-net","rebloggingUrl":"http://www.tumblr.com/reblog/5769629702/Vn0aKUhy","reblog":"true",
"reblogParentUrl":"","reblogParentName":"","reblogSourceUrl":"http://thechangelog.com/post/5768094437/restsharp-simple-rest-and-http-api-client-for-net","reblogSourceName":"thechangelog","reblogSourceUrlHack":"http://thechangelog.com/post/5768094437/restsharp-simple-rest-and-http-api-client-for-net",
"hasTags":"true",
"tags":[{"tagUrl":"http://musicismyeverest.tumblr.com/tagged/rest/chrono","tag":"rest"},{"tagUrl":"http://musicismyeverest.tumblr.com/tagged/.net/chrono","tag":".net"},{}],"tagCaption":"Tags","permalinkPage":"true","notesUrl":"http://musicismyeverest.tumblr.com/notes/5769629702/xkNwYLtXo",
"type":"link","link":"http://github.com/johnsheehan/RestSharp","title":"RestSharp%3A%20Simple%20REST%20and%20HTTP%20API%20Client%20for%20.NET","body":"%3Cp%3E%3Ca%20href%3D%22http%3A%2F%2Fthechangelog.com%2Fpost%2F5768094437%2Frestsharp-simple-rest-and-http-api-client-for-net%22%20target%3D%22_blank%22%3Ethechangelog%3C%2Fa%3E%3A%3C%2Fp%3E%0A%3Cblockquote%3E%0A%3Cp%3EI%E2%80%99m%20a%20big%20fan%20of%20making%20%3Ca%20href%3D%22http%3A%2F%2Fwww.slideshare.net%2Fpengwynn%2Fjson-and-the-apinauts%22%20target%3D%22_blank%22%3Eidiomatic%20language%20bindings%20for%20APIs%3C%2Fa%3E.%20Making%20common%20tasks%20such%20as%20URI%20generation%2C%20transport%2C%20authentication%2C%20and%20payload%20parsing%20configurable%20options%20and%20providing%20a%20higher-level%20API%20lets%20application%20developers%20focus%20on%20the%20business%20domain%20instead%20of%20low-level%20networking.%3C%2Fp%3E%0A%3Cp%3E.NET%20developers%20looking%20to%20write%20API%20wrappers%20without%20starting%20from%20scratch%20should%20check%20out%20%3Ca%20href%3D%22http%3A%2F%2Frestsharp.org%22%20target%3D%22_blank%22%3ERestSharp%3C%2Fa%3E%20from%20%3Ca%20href%3D%22http%3A%2F%2Ftwitter.com%2Fjohnsheehan%22%20target%3D%22_blank%22%3EJohn%20Sheehan%3C%2Fa%3E.%20Similar%20to%20Ruby%E2%80%99s%20%3Ca%20href%3D%22http%3A%2F%2Fgithub.com%2Fjnunemaker%2Fhttparty%22%20target%3D%22_blank%22%3EHTTParty%3C%2Fa%3E%20and%20others%2C%20RestSharp%20provides%20a%20number%20of%20features%20to%20make%20writing%20wrappers%20for%20REST%20web%20services%20a%20snap%2C%20including%3A%3C%2Fp%3E%0A%3Cul%3E%3Cli%3EAutomatic%20XML%20and%20JSON%20parsing%20including%20Fuzzy%20element%20name%20matching%20%28%E2%80%9Cproduct_id%E2%80%9D%20in%20XML%2FJSON%20will%20match%20C%23%20property%20named%20%E2%80%98ProductId%E2%80%99%29%3C%2Fli%3E%0A%3Cli%3ESupport%20for%20GET%2C%20POST%2C%20PUT%2C%20HEAD%2C%20OPTIONS%2C%20DELETE%3C%2Fli%3E%0A%3Cli%3EoAuth%201%2C%20oAuth%202%2C%20Basic%2C%20NTLM%20and%20Parameter-based%20Authentication%3C%2Fli%3E%0A%3Cli%3EMulti-part%20form%2Ffile%20uploads%3C%2Fli%3E%0A%3Cli%3ECustom%20serialization%20and%20deserialization%20via%20ISerializer%20and%20IDeserializer%3C%2Fli%3E%0A%3Cli%3EBoth%20sync%20and%20async%20requests%3C%2Fli%3E%0A%3C%2Ful%3E%3Ch3%3EExample%3C%2Fh3%3E%0A%3Cp%3EHere%E2%80%99s%20a%20quick%20example%20of%20making%20a%20simple%20request%20for%20XML%20from%20an%20API%20using%20Basic%20Auth%3A%3C%2Fp%3E%0A%3Cpre%3E%3Ccode%3Evar%20client%20%3D%20new%20RestClient%28%29%3B%0Aclient.BaseUrl%20%3D%20%22http%3A%2F%2Ftwitter.com%22%3B%0Aclient.Authenticator%20%3D%20new%20HttpBasicAuthenticator%28%22username%22%2C%20%22password%22%29%3B%0A%0Avar%20request%20%3D%20new%20RestRequest%28%29%3B%0Arequest.Resource%20%3D%20%22statuses%2Ffriends_timeline.xml%22%3B%0A%0ARestResponse%20response%20%3D%20client.Execute%28request%29%3B%0A%3C%2Fcode%3E%3C%2Fpre%3E%0A%3Cp%3EIn%20addition%20to%20using%20the%20built-in%20%3Ca%20href%3D%22https%3A%2F%2Fgithub.com%2Fjohnsheehan%2FRestSharp%2Fwiki%2FAuthenticators%22%20target%3D%22_blank%22%3EAuthenticators%3C%2Fa%3E%2C%20you%E2%80%99re%20free%20to%20create%20your%20own%3A%3C%2Fp%3E%0A%3Cpre%3E%3Ccode%3Evar%20client%20%3D%20new%20RestClient%28%22http%3A%2F%2Fexample.com%22%29%3B%0Aclient.Authenticator%20%3D%20new%20SimpleAuthenticator%28%22username%22%2C%20%22foo%22%2C%20%22password%22%2C%20%22bar%22%29%3B%0A%0Avar%20request%20%3D%20new%20RestRequest%28%22resource%22%2C%20Method.GET%29%3B%0Aclient.Execute%28request%29%3B%0A%3C%2Fcode%3E%3C%2Fpre%3E%0A%3Cp%3EPerhaps%20most%20impressive%20is%20RestSharp%E2%80%99s%20support%20for%20a%20number%20of%20environments%20including%20.NET%203.5%2B%2C%20Silverlight%204%2C%20Windows%20Phone%207%2C%20Mono%2C%20and%20MonoTouch.%20Be%20sure%20and%20check%20out%20the%20%3Ca%20href%3D%22https%3A%2F%2Fgithub.com%2Fjohnsheehan%2FRestSharp%22%20target%3D%22_blank%22%3Eproject%20readme%3C%2Fa%3E%20for%20advanced%20usage%20and%20tips%20on%20contributing.%3C%2Fp%3E%0A%3Cp%3E%5B%3Ca%20href%3D%22http%3A%2F%2Fgithub.com%2Fjohnsheehan%2FRestSharp%22%20target%3D%22_blank%22%3ESource%20on%20GitHub%3C%2Fa%3E%5D%3C%2Fp%3E%0A%3C%2Fblockquote%3E"
},
"":{} }}