Go to file
2013-01-17 18:26:47 +00:00
check_json.pl Fixes an issue where if you do something like: check_json.pl -U http://api.thegreensheet.com/Ads/GetTop20AdsInSubCategory/houston/Animals%20Pets%20and%20More 2013-01-17 18:26:47 +00:00
README Revised help message and README 2012-02-26 08:50:10 -04:00
sample.data Initial commit 2012-02-26 08:48:02 -04:00

Retrieve an http/s url and checks its application type is application/json and the response content decodes properly into JSON.  
Optionally verify content is found using data file.

--help      shows this message
--version   shows version information

USAGE: check_http_json.pl -U http://my.url.com -d sample.data

-U          URL to retrieve (http or https)
-d          absolute path to data file containing hash to find with JSON response (optional)
-t          Timeout in seconds to wait for the URL to load. If the page fails to load, will exit with UNKNOWN state (default 60)