Create hook for configuring get, post, put and delete urls