timing curl requests code example
Example 1: linux mesuare request time http
curl -w "\n\n%{time_connect} + %{time_starttransfer} = %{time_total}\n" www.google.com
Example 2: how to get terminal http request time
curl -X POST -d @file server:port -w %{time_connect}:%{time_starttransfer}:%{time_total}