set method to request