출력 언어
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·환경변수 확장 등 특수 케이스는 완벽 재현되지 않을 수 있습니다.
모든 처리는 브라우저 내부에서 실행됩니다 — 파일·입력은 서버로 전송되지 않습니다.