Error check for httpRequest method
Merge pull request #11 from karllhughes/creating_error_check_for_httpRequest_method

Error check for httpRequest method