> For the complete documentation index, see [llms.txt](https://help.appybuilder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.appybuilder.com/components/reference/storage/tinywebdb.md).

# TinyWebDB

Non-visible component that communicates with a Web service to store and retrieve information.

See [Creating a Custom TinyWebDB Service.](http://ai2.appinventor.mit.edu/reference/other/tinywebdb.html)

## Properties

### ServiceURL

The URL to the database with which the component should communicate.

## Events

### GotValue(text tagFromWebDB, any valueFromWebDB)

Indicates that a GetValue server request has succeeded.

### ValueStored()

Event indicating that a StoreValue server request has succeeded.

### WebServiceError(text message)

Indicates that the communication with the Web service signaled an error.

## Methods

### GetValue(text tag)

Sends a request to the Web service to get the value stored under the given tag. The Web service must decide what to return if there is no value stored under the tag. This component accepts whatever is returned.

### StoreValue(text tag, any valueToStore)

Sends a request to the Web service to store the given value under the given tag.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.appybuilder.com/components/reference/storage/tinywebdb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
