> For the complete documentation index, see [llms.txt](https://jiji6027.gitbook.io/moviebox/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jiji6027.gitbook.io/moviebox/reference/movie-box-reference/sign.md).

# Sign

## 로그인

<mark style="color:green;">`POST`</mark> `https://MovieBox.api/login`

#### Request Body

| Name                                       | Type   | Description   |
| ------------------------------------------ | ------ | ------------- |
| id<mark style="color:red;">\*</mark>       | String | user id       |
| password<mark style="color:red;">\*</mark> | String | user password |

{% tabs %}
{% tab title="200: OK 로그인에 성공" %}

```javascript
{
    // Response
    "message": "ok"
}ㅇㅇ
```

{% endtab %}

{% tab title="204: No Content 파라미터가 없는 경우" %}

```javascript
{
    // Response
    "message" : "NO CONTENT"
}"ddddddd\\ddddd
```

{% endtab %}

{% tab title="403: Forbidden 비밀번호가 일치하지 않는 경우" %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

## 로그아웃

<mark style="color:green;">`POST`</mark> `https:MovieBox.api/logout`

#### Headers

| Name           | Type   | Description |
| -------------- | ------ | ----------- |
| authorizaition | String | token       |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="401: Unauthorized " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

## 회원가입

<mark style="color:green;">`POST`</mark> `https:MovieBox.api/signup`

#### Request Body

| Name     | Type   | Description |
| -------- | ------ | ----------- |
| id       | String |             |
| email    | String |             |
| password | String |             |
| name     | String |             |
| nickname | String |             |

{% tabs %}
{% tab title="201: Created " %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="204: No Content " %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="500: Internal Server Error " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}
