I am building an app which is already build in Android & other Mobile Platform. Since the App uses REST based Webservices build in JAVA, thus I need to use these Webservice URL. The code uses HttpClient and HttpGet for GET,POST,PUT & DELETE operation in Android . Can anyone guide me where to start with as I am new to this Platform.
Share
I would recommend using the WebClient class for simple HTTP based communication. Here is the basic format I typically use when making a request to a web service:
You can then write a method for the RequestComplete method referenced in the second line of code:
You can then process the response as a simple string, or do something like
XDocument.Parse(response)if your response is in XML format.Check out the full MSDN documentation for a complete reference.