im getting error = POST https://api.cloudinary.com/v1_1/sumitsoni/image/upload 400 (Bad Request)
未關閉
@PixelCook 已經在處理了。
開始於 2023年5月28日。
評估
這個 Issue 還沒有評估資料。
描述
question
const postData = () => {
const data = new FormData();
data.append("file", image);
data.append("upload_preset", "insta-clone");
data.append("cloud_name", "sumitsoni")
fetch("https://api.cloudinary.com/v1_1/sumitsoni/image/upload", {
method: "POST",
body: data
})
.then(res => res.json())
.then(data => {
console.log(data);
})
.catch(err => {
console.log(err);
})
}
- 主要語言
- CSS
- 星號
- 332
- 分支
- 213
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
cloudinary/cloudinary_js 的其他 Issue
-
jQuery UI widget未關閉
難度 4/5 3-5 天 新手友好度 25/100
cloudinary/cloudinary_js#296 · 4 則留言 ·