Rest files submission

Hello,

In the document for the rest files submission of generic rest api, the submission of the file is a bit unclear.

I am able to submit files using postman.

But now I am using retrofit in my application.

Can you provide a sample to submit images or files via retrofit.

Thanks in advance

Hi,

Could you please clarify what was unclear, what options have you tried and what problems have you faced?

Sorry for the late reply.

I found a solution.

I simply used multipartbody and it worked