Ajax with restdb.io


#1

Ok my friends I have been playing with Ajax on restdb.io. Right now I’m just trying to POST and GET data from a test table.

I can GET the data with no problems but when I POST all I get is a new entry into the table but the fields are blank. I have just one field “name”.

restdb.io sample code is:…

Edit: Got it working!!

Steve


#3

Hi Steve!
Do you have a sample code for post action?.
Reagards :slight_smile:


#4

Here you go my friend.
You will have to enter in your URL and api key in to both scripts.

I took the zappar Ajax demo and edited it to make mine. My db only had one field “name”
Hope it help you.

Steve

Ajax Example for restdb-io.zpp (303.1 KB)


#5

Great!!! thanks a lot!