How to use user-files to upload files on LambdaTest with Java-Cucumber?

How can I use user-files to upload files on LambdaTest with Java-Cucumber?

Hello Charity,

You can upload multiple files to our Lambda storage. A maximum of 150 files can be uploaded per organization. We have limit of 20 MB files size per API. So, if your total file sizes reach the limit, please upload your files in multiple API calls.

You can use this specific LambdaTest API to upload file to our lambda storage.