Add POST/PUT/DELETE of resource at /form; refactor