Check for type property in httpRequest method to avoid error
Merge pull request #10 from samanthamichele7/1.0

Check for type property in httpRequest method to avoid error