Forum Discussion

Ajay_Chawda's avatar
Ajay_Chawda
Explorer | Level 3
6 years ago

header details added in file during upload

Hi Team,

i'm trying to upload file using upload API.

file getting uploaded correctly, but in file content im alsi getting header details.

header details are not required in file.

Can someone help me on this.

header details should not be present.

  • Здравко's avatar
    Здравко
    Legendary | Level 20

    Hi Ajay_Chawda,

    Seems you are using content multipart encoding. :slight_smile: That's not applicable to Dropbox API. Raw file content have to be used! :wink: Header lines have to be set in the main HTTP header block (other header types are not acceptable in this API - that's why they go in file content).

    Hope this gives some direction.