# POST QNA Answer

## POST QNA Answer

<mark style="color:green;">`POST`</mark> `https://api.cakes.com/qna/answer/:id/register`

This endpoint allows you to register new QNA Answer.

#### Path Parameters

| Name | Type   | Description                |
| ---- | ------ | -------------------------- |
| id   | string | question id for the answer |

#### Request Body

| Name       | Type   | Description                     |
| ---------- | ------ | ------------------------------- |
| video\_url | string | video of answer                 |
| image\_url | string | image of answer                 |
| user\_id   | string | mentor user id who wrote answer |
| text       | string | answer text                     |

{% tabs %}
{% tab title="200 QNA Answer successfully posted" %}

```
{    "message": "success post QNA answer"}
```

{% endtab %}

{% tab title="404 Could not find a question matching this query." %}

```
{    "message": "Could not find matching question"}
```

{% endtab %}
{% endtabs %}
