Salient.Web.RequestBuilder

RequestBuilder provides an intuitive API for querying HTTP resources such as web pages, web services, WCF services, Ajax services, HTTP Forms, uploading files etc.

Making a post to an Ajax service with complex parameters is as easy as

                string result = RequestBuilder
                    .GetJsonText(resourceUri, new { name = "Sky", color = "blue" })
                    .GetResponse().GetResponseStream().Text();


All methods have overloads that accept cookieColleciont and header collections.


more to come...

Last edited May 23, 2010 at 11:31 PM by Sky, version 1

Comments

No comments yet.