Learning MIT App Inventor: A Hands-On Guide to Building Your Own Android Apps
by Derek Walter, Mark Sherman
Using Web GET and POST
The Web component, under the Connectivity palette in the Designer, offers one more way to interact with data over the Internet and get access to public databases. The Web component provides direct access to the most low-level tool that any web browser has, which is to request a page from somewhere on the Internet by URL. The Web component also has the capability to post text or a file to a web server. With those two capabilities, you can communicate with basic web servers around the world.
Any response you get using the Web component can be delivered to you in the blocks or saved as a file. If the SaveResponse property is checked or set to true, it saves the response as a file and gives you the name of the file as a response ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access