A basic curl
command to check if a web site is available…
|
|
Typical response:
HTTP/1.1 302 Moved Temporarily
Date: Thu, 21 Mar 2013 23:45:15 GMT
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_jk/1.2.32
X-Powered-By: Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/
Sun Microsystems Inc./1.6)
X-Powered-By: JSF/2.0
Set-Cookie: JSESSIONID=f5798d61221140ff4defd299e168; Path=/dashboard; Secure; HttpOnly
Location: https://myapp.mycompany.com/dashboard/login;jsessionid=f5798d61221140ff4defd299e168
Content-Language: en-US
Content-Length: 234
Vary: Accept-Encoding
Content-Type: text/html;charset=ISO-8859-1
And then:
|
|