curl
–user-agent “Mozilla/5.0 (compatible; MSIE 5.01; Windows NT 5.0)”
-X POST “URL”
-H “Content-Type: application/json”
-H ‘header1: header_value1’
-H ‘header2: header_value2’
-d ‘json_string’
https://miahsuwork.medium.com/curl-%E5%9F%BA%E6%9C%AC%E6%93%8D%E4%BD%9C%E8%88%87%E6%8C%87%E4%BB%A4-%E6%90%AD%E9%85%8D-lidemy-http-challenge-%E5%AF%A6%E4%BD%9C-39b79511eb9e
Argument list too long
curl -X POST -d @filename.txt https://website.com/path
https://stackoverflow.com/questions/54090784/curl-argument-list-too-long
timeout
-m, –max-time SECONDS Maximum time allowed for the transfer
–connect-timeout SECONDS Maximum time allowed for connection
https://itw01.com/89HLWEO.html
[linux] curl
分類:linux