HTTP request Transfer file HTTP header getting attached

Hello All,

I am trying to move a text file from local machine to S3 bucket.
Attaching the flow and values assigned.

All other properties are default

So here’s the problem,

The HTTP header gets attached to the body.

Content-Disposition: form-data; name=“file”; filename=“bintxt.txt”
Content-Type: application/octet-stream

What can i change in the properties panel to solve the issue.

I don’t want the headers in the file.

Thank you

1 Like

@hansen_Lobo

Can you first try in psostman and then replicate the same or copy the curl to UiPath and import

cheers

Hi @hansen_Lobo

Unfortunately, if you want to pass a single attachment as a binary stream rather than multipart/form-data, then you will have to use custom code (Invoke Code or Coded Workflows) for now.

HTTP Request does not currently support this scenario, but we are working on improving this in the future :slight_smile: