handle form workaround for PUT, PATCH, and DELETE using _method field