Web APIs

Many services on the Web provide an API (application programming interface) to enable developers like you to access their service and the data within it. The details of how web service APIs work is beyond the scope of this book, but here are the pieces you need to get App Inventor to work with them.

App Inventor can use any RESTful web API that makes and accepts http GET, POST, and PUT requests. It can post files (including images and video) and also receive both files and text.

The key is, it cannot do anything beyond stateless, individual requests. It cannot provide payload data—the entire request must be in the URL. It cannot use an API that depends on a prolonged session or connection. This could change in the future, but the Web ...

Get Learning MIT App Inventor: A Hands-On Guide to Building Your Own Android Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.