不在以下 request 合法域名列表中?

发布于 7 年前作者 yonglong10384 次浏览最后编辑 7 年前来自 issues
wx.request({
      url: 'https://api.remove.bg/v1.0/removebg.com',
      data: {
        image_file: fs,
        size: 'auto',
      },
      header: {
        'content-type': 'application/json', // 默认值
         
      },

这个接口不合法吗

2 回复
juanlu
juanlu1 楼6 年前

你好,请确认正确配置域名,具体请参考:https://developers.weixin.qq.com/miniprogram/dev/framework/ability/network.html

chengqiang
chengqiang2 楼6 年前

我看看