# Register User

## API REGISTER USER (application/json)

<mark style="color:orange;">`PUT`</mark> `https://dsc-ocr.udata.id/api/user/register`

This endpoint allows you to register API OCR

#### Request Body

| Name     | Type   | Description |
| -------- | ------ | ----------- |
| username | string |             |
| password | string |             |

{% tabs %}
{% tab title="200 Success register" %}
```
{
    "message": "Please check your email for verify",
    "success": true
}
```
{% endtab %}

{% tab title="401 Username/email already exist." %}
```
{
    "message": "username/email already exist",
    "success": false
}
```
{% endtab %}
{% endtabs %}

