Implemented request() method