Logout service
->done
View activities by date
View presences by date
Complete the request documentation
- url
http://127.0.0.1:3000/api/users/register
-
method
POST
-
body
{
"name" : "Your Name",
"email" : "[email protected]",
"password" : "yourpassword"
}
- url
http://127.0.0.1:3000/api/users/login
-
method
POST
-
body
{
"email" : "[email protected]",
"password" : "yourpassword"
}
- Authentication
Bearer Token : <token>
- url
http://127.0.0.1:3000/api/users/logout
- method
POST
- body
{
"user_id" : "[email protected]"
}
- Authentication
Bearer Token : <token>
- url
http://127.0.0.1:3000/api/presences
-
method
POST
-
body
{
"user_id" : "[email protected]",
"status" : "check_in | check_out"
}