# HTTP 메시지 템플릿

> 요청과 응답용 Proxyman Breakpoint Templates를 만들고, 저장해 둔 HTTP 메시지를 Breakpoint Raw 탭에서 클릭 한 번으로 적용할 수 있습니다.

## 1. 기능 소개 {#1-whats-it}

Breakpoint 도구에서 사용할 HTTP 메시지 템플릿을 만들어 두고 나중에 다시 사용할 수 있습니다.

* 요청용 HTTP 메시지 템플릿 만들기: HTTP Method, URL, Headers
* 응답용 템플릿 만들기: Status Code, Headers
* [Breakpoint 도구](https://proxyman.com/docs/ko/advanced-features/breakpoint#1-whats-it)를 사용할 때 작업 효율을 높일 수 있습니다.

![요청 및 응답 템플릿과 Raw 404 응답이 표시된 Proxyman Breakpoint Template 창](https://proxyman.com/docs/assets/153364144-b1a8378e-dff8-412b-a3b6-4bfad44f9d61.png)

## 2. 새 템플릿 만드는 방법 {#2-how-to-create-a-new-template}

### 새로 만들기 {#create-a-new-one}

1. **Tools** 메뉴 -> **Breakpoint** -> **Breakpoint Templates…**
2. ⌘N을 누르면 요청 템플릿을, ⇧⌘N을 누르면 응답 템플릿을 만듭니다.
3. 요청/응답 템플릿을 정의합니다.

### 기존 메시지로 템플릿 만들기 {#use-the-existing-one}

1. Breakpoint 규칙을 만들고, 요청/응답이 Breakpoint에 걸리는지 확인합니다.
2. **Raw** 탭 -> **Templates** -> **Save as Template...**을 클릭합니다.
3. 템플릿 이름을 입력하면 완료됩니다.

## 3. 사용 방법 {#3-how-to-use-it}

1. 요청 또는 응답이 Breakpoint에 걸리면 **Raw** 탭을 클릭합니다.
2. **Templates** -> Request/Response를 클릭한 다음 원하는 템플릿을 선택합니다.
3. Proxyman이 현재 데이터를 템플릿 내용으로 교체합니다.

![Templates 메뉴가 열려 있는 Proxyman Breakpoint Raw 탭: Requests, Response, Save as Template, Reset to the Original](https://proxyman.com/docs/assets/proxyman-breakpoint-raw-templates-menu.jpg)

_Breakpoint Raw 탭의 Templates 메뉴_

## 더 알아보기 {#learn-more}

* [테스트를 위해 HTTP 응답 상태 코드, 헤더, 본문을 변경하는 방법](https://proxyman.com/posts/change-response-status-code-header-for-testing)
