Fixed the rest-api urls to get executed at run-time
Merge pull request #842 from kbidarkar/fix-headpin

Fixed the rest-api urls to get executed at run-time