How to Send multiple files(Dynamic number 1,2 or more) to Rest post

Hi Team,

Could anyone help me with the below request?

I need to send multiple files to rest post snap. If I know the count i.e number of files and their content type, I can configure the files in rest post snap. But the file count can be 1 or more and also the file content type varies from file to files.