阅读背景:

如何使用WCF REST读取自定义HTTP状态代码?

来源:互联网 

I'm using the ChannelFactory in WCF to call into a REST service and I want to determine whether the server returned HTTP 200 or 201 in response to a PUT call. Currently, the call succeeds, but I can't determine if my object was created or updated. How can I do this?I'm using the ChannelFactory in WCF to call int




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

分享到: