Выполнение Технического задания. Задачи
- Зарегестрироваться (имейл сразу подтвержден)
- Авторизоваться(получить токены, если oauth)
- Может получить список других юзеров сключая себя.
- Может написать сообщение другому юзеру.
- Может посмотреть сообщения, полученые от конкретного юзера.
- Зарегестрироваться: [POST] /api/register , параметры: password, email, name;
- Авторизоваться: [POST] /api/login , параметры: email, password
- Список пользователей: [POST] /api/users/list , параметры: (HEADERS) Authorization(Bearer <TOKEN_FROM_LOGIN>)
- Написать сообщение другому юзеру: [POST] /api/chat/<ID_USER>/write , параметры: message, +Authorization
- Посмотреть сообщения полученные от конкретного юзера: [POST] /api/chat/<ID_USER>>/show параметры: Authorization