摘要:
我们在上篇文章中讲过WebClient不支持PUT,DELETE.那么WebRequest支持PUT和DELETE吗??于是我们修改PUT代码为:WebRequestwebRequest=WebRequest.Create("http://localhost:19598/ProductService.svc/Product");webRequest.ContentType="application/json";webRequest.Method="PUT";结果还是一样的错误,细心的读者如果反编译过WebClient的话,可以看到内部 阅读全文
posted @ 2011-05-09 20:58
LoveJenny
阅读(4619)
评论(3)
推荐(4)
浙公网安备 33010602011771号