add REST in hook type

now, you can set a url to call in a hook
update README.md