construct the full url.