specify url, since that will be easier most of the time

I don't understand what you mean.  What about the error message is incorrect?  Did you see further on down below where I made passing in the URL a possibility?  I put that in because in the majority of cases we just want to do a get on a specific URL.