Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 560 Bytes

File metadata and controls

43 lines (27 loc) · 560 Bytes

###

GET http://localhost:3000/student

###

GET http://localhost:3000/student?name=John%20Doe

###

GET http://localhost:3000/student/1234567891

###

POST http://localhost:3000/student Content-Type: application/json

{
"name": "John Doe 1", "_id": "1234567891"

}

###

POST http://localhost:3000/auth/register Content-Type: application/json

{
"email": "test1@test.com", "password": "1234567890"

}

###

POST http://localhost:3000/auth/login Content-Type: application/json

{
"email": "testUser@test.com", "password": "1234567890"

}