Request throws exception when params are not provided. Fixes #1