开发者

How to call a method on Google App Engine from C#

I Have an application in my account and I want to call a method that takes int number and return one int number (int someMetho开发者_如何学Cd(int someVar)) from client application that must be written in C#.


All that you have to do to call a method in an AppEngine application is to expose it as a URL that your app handles. Your C# application can use WebRequest to make a request to that URL.


WebRequest wr = WebRequest.Create(Your method URL);

You can URL using some program like HTTP Analyzer.

wr.Headers.add(headerName, value); //the same as in HTTP Analyzer show;      

WebResponse response =  wr.GetResponse();   
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜