How do I measure request and response times at once using cURL?
问题 I have a web service that receives data in JSON format, processes the data, and then returns the result to the requester. I want to measure the request, response, and total time using cURL . My example request looks like: curl -X POST -d @file server:port and I currently measure this using the time command in Linux: time curl -X POST -d @file server:port The time command only measures total time, though - which isn't quite what I am looking for. Is there any way to measure request and