how can count time in when curl hit and take response 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 server:port -w %{time_connect}:%{time_starttransfer}:%{time_total}