feat(interactions): added sql queries and http requests as files to interact with server
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
9679435a40
commit
dc4eee0a15
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"sqltools.connections": [
|
||||
{
|
||||
"previewLimit": 50,
|
||||
"server": "localhost",
|
||||
"port": 5432,
|
||||
"driver": "PostgreSQL",
|
||||
"database": "newsletter",
|
||||
"username": "postgres",
|
||||
"password": "password",
|
||||
"name": "newsletter",
|
||||
"connectString": "postgres://postgres:password@localhost:5432/newsletter"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
POST http://localhost:8000/subscriptions HTTP/1.1
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
name=test
|
||||
&email=test@test.com
|
|
@ -0,0 +1 @@
|
|||
SELECT * FROM subscriptions
|
Loading…
Reference in New Issue