cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Discuss Dropbox Developer & API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

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

Ajay_Chawda
Explorer | Level 3
Thank you for help
Need more support?
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?