added #request method for client requests in Resource