1
0
Fork 0

Mention what curl is

master
Philip O'Toole 10 years ago
parent 41a7cd401e
commit 385d52bcd7

@ -41,6 +41,8 @@ All responses from rqlite are in the form of JSON.
To write data successfully to the database, you must create at least 1 table. To this, perform a HTTP POST, with a CREATE TABLE SQL command in the body of the request. For example:
curl -XPOST localhost:4001/db -d 'CREATE TABLE foo (id integer not null primary key, name text)'
where `curl` is the [well known command-line tool](http://curl.haxx.se/).
To insert an entry into the database, execute a second SQL command:

Loading…
Cancel
Save