> 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-4.md).

# 숙소 찜하기

## &#x20;save room

<mark style="color:green;">`POST`</mark> `https://backends.xyz/api/user/save_room/`

This endpoint allows you to get free cakes.

#### Headers

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

#### Request Body

| Name     | Type    | Description                  |
| -------- | ------- | ---------------------------- |
| room\_id | integer | select room\_id json 방식으로 전송 |

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

```javascript
{
    "message" : "successfully saved"
}
```

{% endtab %}

{% tab title="400 .같은 이미 좋아요 한 룸일 경우" %}

```javascript
{
    "message": "already saved this room"
}
```

{% endtab %}

{% tab title="401 " %}

```
{
    "detail": "Invalid token."
}
```

{% endtab %}
{% endtabs %}
