curl --digest -D - http://localhost:9990/management --header "Content-Type: application/json" -d '{"operation":"read-resource", "include-runtime":"true" , "address":["subsystem","web","connector","http"], "json.pretty":1}' -u user:pass
HTTP/1.1 200 OK
Transfer-encoding: chunked
Content-type: application/json
Date: Tue, 17 Jul 2012 15:48:39 GMT
{
"outcome" : "success",
"result" : {
"bytesReceived" : "14727204",
"bytesSent" : "2544228",
"enable-lookups" : false,
"enabled" : true,
"errorCount" : "8",
"executor" : null,
"max-connections" : null,
"max-post-size" : 2097152,
"max-save-post-size" : 4096,
"maxTime" : "1865",
"name" : "http",
"processingTime" : "12920",
"protocol" : "HTTP/1.1",
"proxy-name" : null,
"proxy-port" : null,
"redirect-port" : 8433,
"requestCount" : "134",
"scheme" : "http",
"secure" : false,
"socket-binding" : "http",
"ssl" : null,
"virtual-server" : null
}
}