Fixed makeRequest connecting to the wrong URL