Set API var to be relative to the current URL
Merge pull request #81 from Adaptavist/master

Set API var to be relative to the current URL
Merge branch 'master' into 1.7.4