getUrlAndParams now no longer relies on request having been sent