> For the complete documentation index, see [llms.txt](https://organization-kee.gitbook.io/tenthread/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://organization-kee.gitbook.io/tenthread/post.md).

# Post

## 포스트 작성

<mark style="color:green;">`POST`</mark> `http://localhost:8080/post`

#### Headers

| Name                                  | Type   | Description |
| ------------------------------------- | ------ | ----------- |
| jwt<mark style="color:red;">\*</mark> | Bearer |             |

#### Request Body

| Name                                      | Type   | Description |
| ----------------------------------------- | ------ | ----------- |
| title<mark style="color:red;">\*</mark>   | String |             |
| content<mark style="color:red;">\*</mark> | String |             |

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

{% endtab %}
{% endtabs %}

## 포스트 단건 조회

<mark style="color:blue;">`GET`</mark> `http://localhost:8080/post/{id}`

#### Path Parameters

| Name                               | Type | Description |
| ---------------------------------- | ---- | ----------- |
| <mark style="color:red;">\*</mark> | Long |             |

#### Headers

| Name                                  | Type   | Description |
| ------------------------------------- | ------ | ----------- |
| jwt<mark style="color:red;">\*</mark> | Bearer |             |

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

{% endtab %}
{% endtabs %}

## 포스트 수정

<mark style="color:orange;">`PUT`</mark> `http://localhost:8080/post/{id}`

#### Path Parameters

| Name                               | Type | Description |
| ---------------------------------- | ---- | ----------- |
| <mark style="color:red;">\*</mark> | Long |             |

#### Headers

| Name                                  | Type   | Description |
| ------------------------------------- | ------ | ----------- |
| jwt<mark style="color:red;">\*</mark> | Bearer |             |

#### Request Body

| Name                                      | Type   | Description |
| ----------------------------------------- | ------ | ----------- |
| title<mark style="color:red;">\*</mark>   | String |             |
| content<mark style="color:red;">\*</mark> | String |             |

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

{% endtab %}
{% endtabs %}

## 포스트 삭제

<mark style="color:red;">`DELETE`</mark> `http://localhost:8080/post/{id}`

#### Path Parameters

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

#### Headers

| Name                                  | Type   | Description |
| ------------------------------------- | ------ | ----------- |
| jwt<mark style="color:red;">\*</mark> | Bearer |             |

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

{% endtab %}
{% endtabs %}
