add post request hook