Skip to content

Question about s3 CORS uploads (content-type header specifically) #4478

Locked Answered by jasonsaayman
nspierre-indeed asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, this should work, for example from my own code base I do the exact same thing:

await axios.put( data.uri, data.file, { headers: { 'Content-Type': data.file.type, }, }, )

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@nspierre-indeed
Comment options

Answer selected by nspierre-indeed
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants