O'Reilly logo

Windows Application Development Cookbook by Marcin Jamro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Calling API methods

Many projects are prepared as distributed systems with not only mobile applications. Very often, a set of web applications is used as well, for example, to enter data by users. Of course, such data also needs to be shown in mobile applications along with the possibility of updating them just after modification in the web-based part. What is more, some external data, for example, obtained from the sensors of mobile devices, may need to be entered into the system. These are only a few reasons why APIs are developed as a way of exchanging data between various parts of the system. In this chapter, you will learn how to send GET and POST-based requests to the API and obtain JSON-encoded results.

As an example, you will create the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required