correct the url of nodejs api