Table of Contents
Method & URL
POST http://localhost:3000/users/registrationHeaders
Content-Type : application/jsonBody
{
"username": "",
"email": "",
"password": ""
}Return
{
"success": true,
"payload": {
"_id": "",
"username": ""
}
}Method & URL
POST http://localhost:3000/users/loginHeaders
Content-Type : application/jsonBody
{
"email": "",
"password": ""
}Return
{
"success": true,
"payload": {
"_id": "",
"token": ""
}
}Method & URL
POST http://localhost:3000/users/get-allHeaders
Content-Type : application/jsonParams
?page=INTEGER&limit=INTEGERBody
NoneReturn
{
"status": true,
"payload": {
"records": [
{
"_id": "",
"username": "",
"created": ""
}
],
"limits": "NUMBER"
}
}Method & URL
POST http://localhost:3000/users/findHeaders
Content-Type : application/json
access-token : tokenBody
{
"_id": ""
}Return
{
"success": true,
"payload": {
"_id": "",
"username": "",
"email": "",
"password": "",
"created": ""
}
}