pages.ko/*: fix typos in Korean translation (#14607)

This commit is contained in:
piedroconti
2024-11-12 14:18:13 +09:00
committed by GitHub
parent 47f1675f46
commit 89a6af662b
15 changed files with 64 additions and 46 deletions

View File

@@ -1,37 +1,37 @@
# curl
> 데이터를 서버에서 혹은 서버로 전송.
> HTTP,FTP 및 POP3를 포함한 대부분의 프로토콜 지원.
> HTTP, HTTPS, FTP, SCP 등 대부분의 프로토콜 지원.
> 더 많은 정보: <https://curl.se/docs/manpage.html>.
- URL의 내용을 파일로 다운로드:
- HTTP GET 요청을 수행하고 내용을 `stdout`에 덤프:
`curl {{http://example.com}} --output {{파일명}}`
`curl {{https://example.com}}`
- URL에 표시된 파일 명으로 출력을 저장하고 파일을 다운로드:
- HTTP GET 요청을 수행하고, `3xx` 리디렉션을 따라가며(fo[L]low), 응답 헤더와 내용을 `stdout`에 덤프([D]ump):
`curl --remote-name {{http://example.com/filename}}`
`curl --location --dump-header - {{https://example.com}}`
- [L]위치 리다이렉션 후 파일을 다운로드 하고, 자동으로 이전 파일 [C]전송(재시작):
- URL에 표시된 파일명으로 출력([O]utput)을 저장하고 파일을 다운로드:
`curl --fail --remote-name --location --continue-at - {{http://example.com/filename}}`
`curl --remote-name {{http://example.com/filename.zip}}`
- 양식 인코딩 데이터 전송(`application/x-www-form-urlencoded`유형의 POST 요청):
- 폼으로 인코딩 데이터([d]ata) 전송 (POST 요청의 타입, `application/x-www-form-urlencoded`). `stdin`으로 부터 읽으려면 `--data @file_name` 이나 `--data @'-'`를 사용:
`curl --data {{'name=bob'}} {{http://example.com/form}}`
`curl -X POST --data {{'name=bob'}} {{http://example.com/form}}`
- 사용자 지정 HTTP 메드를 사용하여 추가 헤더로 요청 전송:
- 추가 헤더를 포함하여 요청을 전송하고, 사용자 지정 HTTP 메드를 사용한 후 프록시(pro[x]y)를 통해 전송하고 (예: BurpSuite), 신뢰할 수 없는 자체 서명 인증서를 무시:
`curl --header {{'X-My-Header: 123'}} --request {{PUT}} {{http://example.com}}`
`curl -k --proxy {{http://127.0.0.1:8080}} --header {{'Authorization: Bearer token'}} --request {{GET|PUT|POST|DELETE|PATCH|...}} {{https://example.com}}`
- 적절한 컨텐츠 유형 헤더를 지정하여 JSON 포으로 데이터 전송:
- 적절한 컨텐츠 유형 헤더([H]eader)를 지정하여 JSON 포으로 데이터 전송:
`curl --data {{'{"name":"bob"}'}} --header {{'Content-Type: application/json'}} {{http://example.com/users/123}}`
- 서버 인증을 위한 사용자 이름 및 비밀번호 전달:
`curl --user {{사용자 명}} {{http://example.com}}`
- 리소스에 대한 클라이언트 인증서 및 키 전달, 인증서 유효성 검사 스킵:
- 리소스에 대한 클라이언트 인증서 및 키 전달, 인증서 유효성 검사 생략:
`curl --cert {{클라이언트.pem}} --key {{키.pem}} --insecure {{https://example.com}}`
- 호스트 이름을 사용자 지정 IP 주소로 해결하고, 상세한([v]erbose) 출력 결과를 표시 (사용자 지정 DNS resolution을 위해 `/etc/hosts` 파일을 편집하는 것과 유사):
`curl --verbose --resolve {{example.com}}:{{80}}:{{127.0.0.1}} {{http://example.com}}`