added function para to comprehensively support RESTful