# 회원가입하기

## User signup

<mark style="color:green;">`POST`</mark> `http://purpur.ml/users/signup`

#### Request Body

| Name     | Type   | Description |
| -------- | ------ | ----------- |
| userName | string | User's name |

{% tabs %}
{% tab title="200 Signup success." %}
```javascript
{
    "status": 200,
    "message": "회원 가입 성공",
    "data": {
        "userName": "장혜진",
        "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZHgiOjIsImlhdCI6MTU5NDk4ODE0MiwiZXhwIjoxNjAyNzY0MTQyfQ.EsyxM0L8XKBJ6deu7gL3L2WFD6sPmM8iNGpy8ljWstI"
    }
}
```
{% endtab %}

{% tab title="400 There's a null value which is required parameter." %}
```javascript
{
    "status": 400,
    "message": "입력되지 않은 값이 있습니다"
}
```
{% endtab %}
{% endtabs %}

