huaweicloud-sdk-browserjs-obs icon indicating copy to clipboard operation
huaweicloud-sdk-browserjs-obs copied to clipboard

Results 27 huaweicloud-sdk-browserjs-obs issues
Sort by recently updated
recently updated
newest added

我们去对接了某个hcso的私有云的对象存储,但是该私有云客户没有买证书,导致页面上请求报错如下: HEAD https://sf9221828546444581c6217994faeaec.obs.region.xxxx.com/?apiversion net::ERR_CERT_AUTHORITY_INVALID 请问我们如何在调用过程中忽略ssl证书校验呢。

1.从github下载华为云obs最新代码 2.本地安装编译后,生成了dist文件夹 3.复制里面dist/@cloud/esdk-obs-browserjs-without-polyfill-3.21.8.min.js文件,引入到项目中 4.在项目中new ObsClient() 报错 `Uncaught ReferenceError: ObsClient is not defined`

![image](https://user-images.githubusercontent.com/31135721/153138204-89ae4c79-4c48-458b-8a63-5d94e0385323.png) ![image](https://user-images.githubusercontent.com/31135721/153138256-7f7ea4e2-5a62-4250-b53a-ce06d5b7a1b9.png) /watermark,text_aGVsbG8=,size_60,color_FF0000,g_nw,align_0,x_0,y_0 同样的水印参数 y 方向偏移不正确

想问一下这个支持uniapp前端直接上传华为云嘛。

项目内使用了axios 实例,并且没有create 项目内: ```` js import axios from 'axios' axios.defaults.headers.Authorization = 'fdsafsda' ```` npm 包esdk-obs-browserjs 内 ```` js import axios from 'axios' axios.request() ```` 表现: 包内request headers 会携带 Authorization 导致请求失败。...

希望能提供TS类型支持

报错信息如下,配置环境里面 也配置了 localhost: Access to XMLHttpRequest at 'http://cem-test.cem-test.obs.cn-south-4.myhuaweicloud.com/?apiversion' from origin 'http://localhost:8572' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is...

场景: UEditor 上传视频是通过 iframe 方式 obs 上传是在主窗口定义和调用 `obs.uploadFile({ SourceFile:file })` UEditor 上传视频拿到 `file` 对象后, 调用主窗口上传方法 `window.parent.obs.uploadFile({ SourceFile:file })` 问题: 用 `file instanceof window.File` 判断 file 传参类型会报错,因为 `file` 对象是在 iframe 生成,原型指向的是...

您好,我希望在下载的时候指定一个文件名,我给ResponseContentDisposition属性赋值,没有用 ``` obsClient.getObject({ Bucket: '', Key: '', ResponseContentDisposition: 'attachment; file=1.jpg', ResponseContentType: 'application/octet-stream', SaveByType: "file", } ``` 返回的请求 ![image](https://user-images.githubusercontent.com/1219192/128597540-4c3f9b7e-bf5a-4121-a264-078485ac0cf3.png) 我需要怎么设置呢