fix for issue #42
simplify the way request URL constructed
Merge pull request #49 from sashakruglov/master

fix for issue #42