> For the complete documentation index, see [llms.txt](https://docs.apidrag.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apidrag.com/base-control/web-service/http-redirect.md).

# Http Redirect

## 아이템 블록

Http In 아이템 블록을 통해 들어온 요청을 다른 주소로 Redirect 합니다.

<figure><img src="/files/XsCCuotP10hcxnNnecSb" alt=""><figcaption></figcaption></figure>

## 설정 팝업

<figure><img src="/files/9TOcEzMLDFuBW59xfelD" alt=""><figcaption></figcaption></figure>

## 설정 필드

### Redirect URL

Http In 아이템 블록을 통해 들어온 요청을 Redierct 하기 위한 타겟 주소입니다.

### 쿼리 매개 변수

다른 주소로 Redirect 할 때 필요한 쿼리 매개변수를 추가할 수 있습니다.&#x20;

앞에서 설정 된 global/loop/msg 메모리 영역에 값을 지정합니다.

{% hint style="info" %}
쿼리 매게변수에 지정 된 값은 {key:value} 형태의 JSON 값이어야 합니다.

예를들어 msg.queryParams.code = 'somecode' 그리고 msg.queryParams.state = 'online' 와 같이 설정되어 있다면 Redirect 주소는 <mark style="color:blue;">**<https://www.domain.com/?code=somecode\\&state=online>**</mark> 와 같이 전달됩니다.
{% endhint %}

## 프로젝트 구성

Http Redirect 아이템 블록은 Http In 아이템 블록과 항상 쌍으로 구성되어야 합니다. 아래 이미지를 참조해 주세요.

<figure><img src="/files/Ui7qgDxWHnRZDMjfrZHH" alt=""><figcaption></figcaption></figure>
