get1 Curl 자주 사용하는 커맨드 예제 및 옵션( Json payload, POST, GET 등 ) 1. URL 헤더정보 $ curl -I www.naver.com HTTP/1.1 302 Moved Temporarily Server: NWS Content-Type: text/html Location: https://www.naver.com/ Date: Wed, 08 Feb 2023 06:03:35 GMT Connection: keep-alive2. 응답 body 출력 curl https://www.naver.com ata-clk="helpcenter">고객센터 ⓒ NAVER Corp. 3. POST 요청 curl -X POST -d "param1=value1¶m2=value2" https://example.com/api/submit4. POST 요청 ( json payload ) curl -H .. 2023. 2. 8. 이전 1 다음