Dynamically change form-data in call rest(POST)

1
Hey folks,   Im currently working with a rest api using form-data (required) where im posting files to via rest. Now the amount of files keeps varying but i have no way of changing the form-data based on my amount of data.    For example if i were to add another file the key would be translationFiles[1].file: NewFileDocument1     I tried using custom request template but since form-data is required it did not work.   Any suggesting on how i can deal with this issue?   BR
asked
1 answers
1

The Form-data option cannot handle that case.

You will need to choose Binary for the entire request, and create the request body in a java action.

answered