Developer Utility

curl Command Generator

Build a ready-to-run curl command — pick method, add headers, auth, and body. No memorising flags.

개발자 유틸리티

curl 명령어 생성기

메서드, 헤더, 인증, 바디를 설정하고 즉시 실행 가능한 curl 명령어를 생성하세요.

Request

Headers

Request Body

Options

Generated Command

curl https://api.example.com/v1/users \
  -L \
  --compressed

Method: GET

Flags: 2

Headers: 0

How to Use

STEP 1

Set method & URL

Pick your HTTP method (GET, POST, PUT…) and paste your endpoint URL. The command updates live.

STEP 2

Add auth & headers

Choose Bearer Token, Basic Auth, or an API key header. Add any custom headers like Accept or Cache-Control.

STEP 3

Set the body

For POST/PUT/PATCH, paste your JSON or form data. The Content-Type header is added automatically.

STEP 4

Copy & run

Hit Copy and paste the curl command into your terminal. Works on macOS, Linux, and Windows (Git Bash / WSL).

사용 방법

STEP 1

메서드 & URL 설정

HTTP 메서드(GET, POST, PUT 등)를 선택하고 엔드포인트 URL을 입력하세요. 명령어가 실시간으로 업데이트됩니다.

STEP 2

인증 & 헤더 추가

Bearer Token, Basic Auth, 또는 API 키 헤더를 선택하고 필요한 커스텀 헤더를 추가하세요.

STEP 3

바디 설정

POST/PUT/PATCH 요청에 JSON 또는 폼 데이터를 입력하세요. Content-Type 헤더가 자동으로 추가됩니다.

STEP 4

복사 & 실행

Copy 버튼을 누르고 터미널에 붙여넣으세요. macOS, Linux, Windows(Git Bash / WSL) 모두 동작합니다.

Frequently Asked Questions

Select POST as the method, paste your JSON in the Body field, and set Content-Type to application/json. The generator will add -H "Content-Type: application/json" and -d '{"key":"value"}' automatically.
The -L flag tells curl to follow HTTP redirects (301, 302, etc.). Without it, curl stops at the redirect response and doesn't fetch the final destination. It's enabled by default in this generator.
curl is pre-installed on most Linux VPS distributions. SSH into your server and run the generated command directly. For APIs deployed on the same VPS, you can use localhost or 127.0.0.1 as the host to avoid network round-trips.
Select "Bearer Token" from the Auth dropdown and paste your token. The generator adds -H "Authorization: Bearer YOUR_TOKEN" to the command. Alternatively, select "API Key Header" to set a custom header name like X-API-Key.
The -k flag skips TLS certificate verification. Only use it in development environments with self-signed certs — never in production scripts, as it disables the main protection against man-in-the-middle attacks. For staging VPS environments, install a valid certificate (e.g. Let's Encrypt) instead.

자주 묻는 질문

메서드를 POST로 선택하고 Body 필드에 JSON을 입력한 뒤 Content-Type을 application/json으로 설정하세요. 생성기가 -H "Content-Type: application/json"-d '{"key":"value"}'를 자동으로 추가합니다.
-L 플래그는 HTTP 리다이렉트(301, 302 등)를 자동으로 따라가도록 합니다. 없으면 curl이 리다이렉트 응답에서 멈춥니다. 이 생성기에서는 기본으로 활성화되어 있습니다.
curl은 대부분의 Linux VPS 배포판에 기본 설치되어 있습니다. 서버에 SSH로 접속한 뒤 생성된 명령어를 바로 실행하세요. 동일 VPS에 배포된 API는 localhost 또는 127.0.0.1을 호스트로 사용하면 네트워크 왕복 없이 빠르게 테스트할 수 있습니다.
인증 드롭다운에서 "Bearer Token"을 선택하고 토큰을 붙여넣으세요. 생성기가 -H "Authorization: Bearer 토큰"을 명령어에 추가합니다. API 키 헤더가 필요하면 "API Key Header"를 선택해 헤더 이름을 지정할 수 있습니다.
-k 플래그는 TLS 인증서 검증을 건너뜁니다. 자체 서명 인증서를 사용하는 개발 환경에서만 사용하고, 프로덕션 스크립트에는 절대 사용하지 마세요. 스테이징 VPS에는 Let's Encrypt 같은 유효한 인증서를 설치하는 것을 권장합니다.