Authorization: Bearer %some_jwt_token%
(Not used for register
and session endpoints
, only with vacations
endpoint)
Content-Type
: application/json
Base url: https://vacation-manager.herokuapp.com
Example body
{
"email": "email@example.com",
"password": "12345678",
"password_confirmation": "12345678",
"full_name": "Exambpe Name"
}
Example body
{
"email": "email@example.com",
"password": "12345678"
}
Required params: stard_date
, end_date
, manager_id
or worker_id
Example body
{
"manager_id": 6,
"start_date": "2017-11-11",
"end_date": "2017-11-21"
}