Basic login
This commit is contained in:
24
samples.http
Normal file
24
samples.http
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user