Using curl to output http status code, total time, and the request body Using curl to output http status code, total time, and the request body curl curl

Using curl to output http status code, total time, and the request body


What you tried should give, what you desired to get.

I mean the following:

curl "http://stackoverflow.com/" -w "\' %{http_code}\',\'%{time_total}\'"