$ now=`date +"%Y%m%d%H%M%S"`
$ url="http://example.com"
$ file="test"
$ curl -s -v -w "{ \"time\":\"${now}\", \"response\" : %{time_total}, \"status_code\" : %{http_code} }" \
-X POST \
"${url}" \
-o ${file}_body \
2> ${file}_header \
> ${file}_status