Does the WCF REST WebChannelFactory client support

2020-02-14 05:11发布

问题:

If you have a RESTful web service that uses HTTP 301 redirects to send requests like:

http://server/customers/?name=John

to the url

http://server/customers/324

(as created by a service similar to the one in this question.)

Can these types of services be consumed with the WebChannelFactory and a ServiceContract? If so, how?