Rewritten the request method for cli