added the function of specifying the request-type