if response has not "{" character, code was crashed.
Merge pull request #2 from Binusz/master

if response has not "{" character, code was crashed.