摘要:
还记得上篇文章中的PUT调用Rest服务的代码吗?不记得没关系,下面就是它的代码。View Code #region使用WebRequestWebRequestwebRequest=WebRequestCreator.ClientHttp.Create(newUri("http://localhost:19598/ProductService.svc/Product"));webRequest.ContentType="application/json";webRequest.Method="PUT";webRequest.Begin 阅读全文
posted @ 2011-05-11 20:18
LoveJenny
阅读(2943)
评论(2)
推荐(4)
浙公网安备 33010602011771号