TinyWebDB

Table of Contents

About

TinyWebDB is an App Inventor component that allows you to store data persistently in a database on the web. Because the data is stored on the web instead of a particular phone, TinyWebDB can be used to facilitate communication between phones and apps (e.g., multi-player games).

You can store and get values with POST HTTP calls.

Protocol

Action
URL
Post Parameters
response
Get Value
{ServiceURL}/getvalue
tag

JSON: [“VALUE”,”{tag}”, {value}]

single value – [“VALUE”, “firstName”, “\”Lewis\””]

list – [“VALUE”, “contacts”, [“Lewis Moten”, “John Smith”, “Jane Doe”]]

Store A Value
{ServiceURL}/storeavalue
tag,value

[“STORED”, “{tag}”, {value}]

ie – [“STORED”, “firstName”, “\”Lewis\””]