목록Web/web dev (25)
hy30nq's blog

1. -X or --request : 사용할 HTTP 메서드 지정curl -X POST http://example.com 2. -H or --header : HTTP 헤더를 추가curl -H "Content-Type: application/json" http://example.com 3. -d or --data : POST 요청에 데이터를 담기curl -d "param1=value1¶m2=value2" http://example.com 4. --data-raw : POST 요청에 원시 데이터 담기curl --data-raw "raw data" http://example.com 5. -F or --form : 멀티파트 폼 데이터 전송curl -F "file=@/path/to/file" http://..
Web/web dev
2024. 6. 14. 15:38