How to upload file using put method from Integration cloud?

Anyone worked on sending file from Integration Cloud to rest API? I am trying to send file to URL, something like below.
XXX Sex - Free Porn Videos at --upload-file test.txt


Hi Prabhakant,

Do you want to attached multipart form data?