Create message

add new message

POST /message-rooms/{messageRoomId}/messages

<Description of the endpoint>

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Request-Body

Name
Type
Description

message

string

message content of the note

Response

{
    "messageRoomId": 1,
    "senderId": 1,
    "receiverId": 2,
    "message": "안녕하세요! 여쭤볼께있어서 쪽지드립니다",
    "createdDate": 2023-07-26 01:06:55.323
}
// createdDate, updatedDate'는 서버에서 자동으로 관리되며 요청에 포함되지 않습니다.

Last updated