Support form attributes for POST and PUT