阅读背景:

如何使用HttpWebRequest获取方法w/ ContentType= " application/json "

来源:互联网 

This one is real simple, run this Silverlight4 example with the ContentType property commented out and you'll get back a response from from my service in xml. Now uncomment the property and run it and you'll get an ProtocolViolationException, what should happen is the service returns JSON formatted data.This one is real simple, run this Silverlight4




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: