We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87efbb2 commit 43ff3dcCopy full SHA for 43ff3dc
packages/upload-client/README.md
@@ -457,7 +457,11 @@ Or `Blob` like this:
457
```ts
458
const uri = 'URI_TO_FILE'
459
const blob = await fetch(uri).then((res) => res.blob())
460
-uploadFile(blob, { publicKey: 'YOUR_PUBLIC_KEY' })
+uploadFile(blob, {
461
+ publicKey: 'YOUR_PUBLIC_KEY',
462
+ fileName: 'file.txt',
463
+ contentType: 'text/plain'
464
+})
465
```
466
467
## Testing
0 commit comments