🚧 endpoints
This commit is contained in:
parent
3b9ee4dd5b
commit
021695c5b1
20
http/auth.http
Normal file
20
http/auth.http
Normal file
@ -0,0 +1,20 @@
|
||||
GET http://localhost:3005/api/auth/me
|
||||
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2YmM2MGIzMC1hNzcyLTRiM2MtOTYwOC1jMjgyNmNhMjA2NjEiLCJlbWFpbCI6ImFzZEBhc2QuY29tIiwiaWF0IjoxNzQwNTUyMjE4LCJleHAiOjE3NDA1NTU4MTh9.n3rFlFbqKY-kg8YF6cuRkT_Kc6hsCqQQ87TJbkS8DAg
|
||||
|
||||
###
|
||||
POST http://localhost:3005/api/register
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"email": "asd@asd.com",
|
||||
"password":"123456"
|
||||
}
|
||||
|
||||
###
|
||||
POST http://localhost:3005/api/login
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"email": "asd@asd.com",
|
||||
"password":"123456"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user