This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |
| qnd:curl [2021/08/30 16:00] – [Check response times] mgupton | qnd:curl [2023/05/31 12:12] (current) – [Check response times] mgupton |
|---|
| <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> |
| |