Curl

 

Curl

curl --header "Content-Type:application/json;charset=UTF-8" -X POST -d 'SomeJsonString' 1.2.3.4:8999

 

Good way for timing curl requests.

https://blog.josephscott.org/2011/10/14/timing-details-with-curl/



curl -w "@curl-format.txt" -o /dev/null -s http://wordpress.com/ time_namelookup: 0.001 time_connect: 0.037 time_appconnect: 0.000 time_pretransfer: 0.037 time_redirect: 0.000 time_starttransfer: 0.092 ---------- time_total: 0.164

Posted on: Wednesday 09 March 2016