qnd:curl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
qnd:curl [2021/08/30 16:00] – [Check response times] mguptonqnd:curl [2023/05/31 12:12] (current) – [Check response times] mgupton
Line 6: Line 6:
 <code> <code>
 curl -w "dnslookup: %{time_namelookup} | connect: %{time_connect} | appconnect: %{time_appconnect} | pretransfer: %{time_pretransfer} | starttransfer: %{time_starttransfer} | total: %{time_total} | size: %{size_download}\n" <URL> curl -w "dnslookup: %{time_namelookup} | connect: %{time_connect} | appconnect: %{time_appconnect} | pretransfer: %{time_pretransfer} | starttransfer: %{time_starttransfer} | total: %{time_total} | size: %{size_download}\n" <URL>
 +</code>
 +
 +==== Post data to webhook and show response headers ====
 +<code>
 +curl -D - -X POST --data "@sample.json" "http://​​172.16.60.22​:8099/webhook"
 </code> </code>
  
  • qnd/curl.1630339210.txt.gz
  • Last modified: 2021/08/30 16:00
  • by mgupton