set request type