cURL → 코드 변환기

curl 명령을 붙여넣으면 fetch / axios / Go net/http / Python requests 동등 코드 생성. -X / -H / -d / -u / --form / 백슬래시 줄이음 지원.

출력 언어
fetch
const res = await fetch("https://api.example.com/users", {
  method: "POST",
  headers: {
      "Content-Type": "application/json",
      "Authorization": "Bearer xyz"
    },
  body: "{\"name\":\"Alice\",\"email\":\"[email protected]\"}"
});
const data = await res.json();

-X / -H / -d / --data / -u / --user / -b / -A / -e와 백슬래시 줄이음 처리. 파일 업로드·mTLS·환경변수 확장 등 특수 케이스는 완벽 재현되지 않을 수 있습니다.

모든 처리는 브라우저 내부에서 실행됩니다 — 파일·입력은 서버로 전송되지 않습니다.

관련 도구