cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
From Dropbox Dash and Dropbox AI to seamless integrations with tools like Gmail, learn how Dropbox makes your day more efficient and easier, and how sci-fi is becoming reality here.

Discuss Dropbox Developer & API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1
Ask
2
Reply and help

header details added in file during upload

header details added in file during upload

Ajay_Chawda
Explorer | Level 3

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.

Capture1.JPGheader details should not be present.

2 Replies 2

Re: header details added in file during upload

Здравко
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.

Re: header details added in file during upload

Ajay_Chawda
Explorer | Level 3
Thank you for help
Who's talking

Top contributors to this post

  • User avatar
    Ajay_Chawda Explorer | Level 3
  • User avatar
    Здравко Legendary | Level 20
What do Dropbox user levels mean?
Need more support?