AnsweredAssumed Answered

Send multipart/form-data to Box using http client

Question asked by hgadige@osius.com on Nov 6, 2017
Latest reply on Jul 4, 2018 by thanh_n88

Hi All,

I'm trying to upload a file in the box.com

I want to achieve this through http client connector.

box.com provides restful API to upload file which accepts multipart/form-data as request. The first part should be json and second part should be file content.

Following is the json to send.

{
"name": "Sample.txt",
"parent": {
"id": "123456789"
}
}

Can anyone help me to send this multipart/form-data to http client ?

Outcomes