getInput() and buildUrl()