Statement | HTTPGetMD5 |
---|---|
Version | 2.3.7+ |
Purpose | Enables the script to retrieve a web page, returning an MD5 hash of its contents in hex encoded form |
The HTTPGetMD5 statement requires a url, headers variable name and MD5 hash variable name, in the format
HTTPGetMD5 <url> <headers variable name> <MD5 hash variable name>
The following example will retrieve the webpage "http://www.pscs.co.uk", return the HTTP headers into the ${hdrs} variable and return MD5 hash of the contents into the ${md5var} variable
HTTPGetMD5 "http://www.pscs.co.uk" hdrs md5var