Initial
This commit is contained in:
12
API Tests/Auth.http
Normal file
12
API Tests/Auth.http
Normal file
@@ -0,0 +1,12 @@
|
||||
POST http://localhost:3000/api/auth/login
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"username": "jd2",
|
||||
"password": "Foobar"
|
||||
}
|
||||
|
||||
###
|
||||
GET http://localhost:3000/api/auth/test
|
||||
Content-Type: application/json
|
||||
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIyIiwiY2xhaW1zIjpbIlVTRVJTX1NFTEZfUkVBRCJdLCJpYXQiOjE3NzA5MzgwNzcsImV4cCI6MTc3MTAyNDQ3N30.T_LInbvYJkv1beS39TSuC3asGtbx6gO2bKnFDk52qXM
|
||||
Reference in New Issue
Block a user