Adding trailing slashes to calls

Fixes #6
Merge pull request #8 from shrayas/master

Adding trailing slashes to calls