add pre_event for all http method