Added a check for proper response data
Merge pull request #3 from TKerstiens/master

Added a check for proper response data