add a method that can easily return params of a URL (not using a block)