메세지 보내기
다른 유저에게 메세지를 전송합니다.
METHOD & URL
POST /message/
Permission
로그인된 유저
Request
Header
Authorization: 유저 인증 정보
Body
아래의 항목들을 request body에 담아 POST 요청을 보낸다.
to_user: 받을 유저 id 값content: 메세지 내용
Success Response
HTTP Response
201 Created
Content
{
"id": 메세지 id 값,
"to_user": 받을 유저 id 값,
"from_user": 보낸 유저 id 값,
"content": "메세지 내용",
"created_date": "보낸 날짜"
}