Better support for multipart/form-data file upload examples
- 主要言語
- TypeScript
- スター
- 1.2k
- フォーク
- 242
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Currently in the JS / Fetch example, it shows multipart file uploads like so:

This doesn't work as it just sends the string "logo.png" instead of the file.
A better example might be:
```js
// HTML file input, chosen by user
const fileInputs = document.querySelectorAll('input[type="file"]')
form.append("file", fileInputs[0].files[0]);
```
コントリビューションガイド
調査の方向性
Start by locating the JS/Fetch multipart/form-data example and the code that generates its file-upload snippet. Compare the current output with the issue's File-based example, then verify that generated multipart examples reference the selected file rather than the string "logo.png".
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, typescript
- 領域
- tooling, web-dev
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100