added get and post for hooks url