Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 547 Bytes

client.rest

File metadata and controls

26 lines (22 loc) · 547 Bytes

// Create user account first POST http://localhost:4000/api/create-user Content-Type: application/json

{
"fullName": "Abraham Mitiku", "email": "[email protected]", "password": "123"

}

### // login user account POST http://localhost:4000/api/read-user Content-Type: application/json

{
"email": "[email protected]", "password": "123"

}

// --------------- Authorized end point ------------------- // get user info / data ### GET http://localhost:4000/api/read-user-info Content-Type: application/json Authorization: Bearer