renamed getURLRequest method