Get request url and method