Basic login

This commit is contained in:
2019-09-26 15:52:58 +02:00
parent f20d003e2a
commit e2bdaf6603
13 changed files with 514 additions and 12 deletions

24
samples.http Normal file
View File

@@ -0,0 +1,24 @@
# @name: login
POST {{ baseUrl }}/auth/ HTTP/1.1
Content-type: application/json
{
"email": "test@test.com",
"password": "hornyhorny"
}
###
GET {{ baseUrl }}/auth/bootstrap HTTP/1.1
###
POST {{ baseUrl }}/auth/bootstrap HTTP/1.1
Content-Type: application/json
{
"token": {{ bootstrapToken }},
"email": "test@test.com",
"password": "hornyhorny"
}