Properly anchor API urls