var restClient = new RestClient("http://tumblr.com/api/write"); var request = new RestRequest(Method.POST); request.RequestFormat = DataFormat.Json; request.AddParameter("email", "123@456.com"); request.AddParameter("password", "acb"); request.AddParameter("type", "photo"); request.AddParameter("caption", "testing"); request.AddFile("data", "C:\\photo\\photo1.jpg"); IRestResponse response = restClient.Execute(request);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)