easy database
TaylorLiang (656)

I will keep this up as long as I can and plan to update it every week.

I made a database for everybody to use:
How to use:

send a POST-request, with a dict like this: 
			'key'	:	'name',
			'data'	:	{'put data here'}
		and, to access it, send a GET-request, (x = 
		and use x['the key you want to use'], and you will get the data

@Zavexeon suggested rate limiting of 100 requests a second. There is now rate limiting

Update 0.1:
Because somebody has to spam everything, you can now only send 3000 bytes at a time.

Request 0.1:
What should I add?

Edit: Wow guys, very funny. you spammed the db. Wow. My ears hurt

You are viewing a single comment. View All
Foster_Bryant (86)

How would I send a file's content to the db?

TaylorLiang (656)


import requests
requests.post('https://freeDB.taylorliang.repl.co', data = {
  'key'  :  'the key you want',
  'data'  :  with open('file.txt'): f.read()

and you can get the data by doing this:

import requests
print(requests.get('https://freeDB.taylorliang.repl.co').json()['the key earlier'])
Foster_Bryant (86)

@TaylorLiang Am I able to send stuff to this database through different programs?

TaylorLiang (656)

@Foster_Bryant Node.js also works, but I dont know how to do requests in that. As long as you can send requests in that program, it can work
lang's that I know have requests:

  • js
  • python
  • html
  • c#
  • c++ (with external library's)