본문으로 건너뛰기
curl

curl Converter

Convert curl -X/-H/-d into fetch and axios snippets.

브라우저에서 처리 — 데이터가 기기를 떠나지 않습니다

// fetch
fetch('https://api.example.com/v1/items', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer token'
  },
  body: '{"name":"toco.tools"}'
})

// axios
axios({
  method: 'post',
  url: 'https://api.example.com/v1/items',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer token'
  },
  data: '{"name":"toco.tools"}'
})

curl Converter 소개

Convert copied curl commands into fetch() and axios snippets. Everything runs in your browser.

사용 방법

  1. Paste a curl command
  2. Review generated code
  3. Copy

자주 묻는 질문

Free?

Yes.

Uploaded?

No.