开发者

Using Rest based serives in WCF with POST method

I have create a Rest based WCF service and it used in a java mobile app is there a way to post values from the java mobile app to my service a开发者_如何学运维nd i can use it in my application


Yes, try setting the method for your function to POST:

[WebInvoke(UriTemplate = "MyFunction", Method = "POST")]
public string MyFunction() 
{
//implementation
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜