-
Notifications
You must be signed in to change notification settings - Fork 0
/
Insert.http
24 lines (17 loc) · 935 Bytes
/
Insert.http
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
GET http://cheapdb.azurewebsites.net/db/create table t(PatientId varchar(16), Heartrate float(4), Temp float(4), Respiration float(4), Sao2 float(4), BloodPressureS float(4))
###
POST http://localhost:3000/db/post
Content-Type: application/json
{
"query": "content"
}
###
GET http://localhost:3000/db/INSERT INTO Persons (PersonID, LastName, FirstName, Address, City) VALUES (99999, 'Testerson', 'Test', '123 Main St', 'Ottawa');
###
GET http://localhost:3000/db/SELECT * FROM test;
###
GET cheapdb.azurewebsites.net/db/SELECT * FROM test;
###
GET cheapdb.azurewebsites.net/db/CREATE TABLE test (PatientId varchar(16), Heartrate float(4), Temp float(4), Respiration float(4), Sao2 float(4), BloodPressureS float(4))
###
GET cheapdb.azurewebsites.net/CREATE%20TABLE%20test%20(PatientId%20varchar(16)%2C%20Heartrate%20float(4)%2C%20Temp%20float(4)%2C%20Respiration%20float(4)%2C%20Sao2%20float(4)%2C%20BloodPressureS%20float(4))