curl

데이터를 서버에서 혹은 서버로 전송. HTTP, HTTPS, FTP, SCP 등 대부분의 프로토콜 지원. 더 많은 정보: https://curl.se/docs/manpage.html.

curl {{https://example.com}}

curl {{[-L|--location]}} {{[-D|--dump-header]}} - {{https://example.com}}

curl {{[-O|--remote-name]}} {{http://example.com/filename.zip}}

curl {{[-X|--request]}} POST {{[-d|--data]}} {{'name=bob'}} {{http://example.com/form}}

curl {{[-k|--insecure]}} {{[-x|--proxy]}} {{http://127.0.0.1:8080}} {{[-H|--header]}} {{'Authorization: Bearer token'}} {{[-X|--request]}} {{GET|PUT|POST|DELETE|PATCH|...}} {{https://example.com}}

curl {{[-d|--data]}} {{'{"name":"bob"}'}} {{[-H|--header]}} {{'Content-Type: application/json'}} {{http://example.com/users/123}}

curl {{[-E|--cert]}} {{클라이언트.pem}} --key {{키.pem}} {{[-k|--insecure]}} {{https://example.com}}

curl {{[-v|--verbose]}} --resolve {{example.com}}:{{80}}:{{127.0.0.1}} {{http://example.com}}