> For the complete documentation index, see [llms.txt](https://fastbnb.gitbook.io/project/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fastbnb.gitbook.io/project/undefined-11.md).

# 리뷰 작성하기

## Get Cakes

<mark style="color:green;">`POST`</mark> `https://backends.xyz/api/home/review/<int:pk>/`

\<int:pk> 는 방 번호 입니다. 숫자 넣어주시면 됩니다.

#### Headers

| Name           | Type   | Description                                                    |
| -------------- | ------ | -------------------------------------------------------------- |
| Authentication | string | Authentication token to track down who is emptying our stocks. |

#### Request Body

| Name    | Type    | Description         |
| ------- | ------- | ------------------- |
| grade   | integer | 0 \~ 5점까지 평점.       |
| comment | string  | "comment" : "모두 성공" |

{% tabs %}
{% tab title="200 Cake successfully retrieved." %}

```javascript
{
   "room": 1,
   "guest": 2,
   "comment": "HELLO WORLD!",
   "created_at": "2018-12-12",
   "grade": 5
}
```

{% endtab %}

{% tab title="400 " %}

```
{
   "comment": [
       "이 필드는 필수 항목입니다."
   ],
   "grade": [
       "이 필드는 필수 항목입니다."
   ]
}
```

{% endtab %}
{% endtabs %}
