I have a webservice provided at http://localhost/test/testweb
http://localhost/test/testweb
I want to write a script to check if webservice is up with curl
If there a curl parame
Use this:
curl -o $CURL_OUTPUT -s -w %{http_code}\\n%{time_total}\\n $URL > $TMP_FILE 2>&1 cat $TMP_FILE