开发者

Restful-web-services - calling function with parameter

开发者 https://www.devze.com 2023-03-04 22:19 出处:网络
I need to call function from restful webservice which have complex parameter class from. How can I call function with parameter? I\'m using mvc 3 for my restful web service and application that is cal

I need to call function from restful web service which have complex parameter class from. How can I call function with parameter? I'm using mvc 3 for my restful web service and application that is calling it. This is code for calling web service's function :

 HttpWebRequest req = (HttpWebRequest)WebRequest.Create(uri);           
HttpWebResponse response = (HttpWebRes开发者_运维知识库ponse)req.GetResponse();

How can I pass parameter to function? Thx

0

精彩评论

暂无评论...
验证码 换一张
取 消