correct the rest url
Merge pull request #2 from afraazali/bugfix/wrong-rest-url

correct the rest url