Recovery enctype of the form, remove the static 'multipart/form'.. there may be other types such as 'multipart/related' & taking into account the contentType 'options' because for some REST API, the contentType is mandatory