💮 EasyDB - Getting started

The super-simple database for utility tasks, one time stuff or anything you need to store for later usage.

EasyDB is a simple db when you need limited or one-time storage for your scripts or web applications. Simply store and query data through our flexible REST api. Start by making a call to our Register api with your email and you will be up and running in no time.

Register to use

Register by making a POST request to /user
Example:
Python
import requests as re
payload={"email":"your-email-here"}
x=re.post('https://easydb.org/user', json=payload)
print(x.text)
Result:
{
"email":"your address",
"secret_id": "long id-keep this safe",
"access_token":"token to be used for further access"
}

Now you can store data

Insert and update data
Inserting and updating data is as simple as making a POST request with JSON to /data, you set a unique id and include JSON content. Example:
Python
import requests as re
payload={
"access_token":"your token",
"data_id":"add_a_custom_id",
"data":{"whatever_keys":"Whatever_content"}
}
x=re.post('https://easydb.org/data', json=payload)
print(x.text)
Result:
{
"id": "the_submitted_id",
"status":"success",
"method":"insert/update"
}

...and get it back again

Retrieve data
Retrieving data is done by calling GET with a JSON including the access token and your custom id. Example:
Python
import requests as re
payload={
"access_token"="your token",
"data_id":"use one you have sent in earlier",} x=re.get('https://easydb.org/data', json=payload)
print(x.text)
Result:
{
"id":"the id you submitted","data":'a Json, LIST or String with your content
}

For a full use case example go to /start
For further documentation go to /schema
If you are uncertain why you would use this go toWhy use Easydb?
For security considerations go to /security