I was able to do that with setting the disableMultipart to true, in that way library will not add the FormData, and then I set the binary file with formatDataFunction.
disableMultipart
formatDataFunction