Ajax with restdb.io

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 Likes

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

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)

1 Like

Great!!! thanks a lot!

1 Like