接受 XMLHTTP60 的证书

问题描述

我正在尝试通过 VBA - MS Access 2016 发送 api 请求,以便接收 json 文件,当我执行此操作时,我收到以下错误消息

enter image description here

我使用 Microsoft XML、V6 作为参考

我的代码如下

Dim xml_obj As MSXML2.XMLHTTP60

'Create a new Request Object
Set xml_obj = New MSXML2.XMLHTTP60

    'API code
    api_url = Me.UPC
    
    'Open a new request using our URL
    xml_obj.Open bstrMethod:="GET",bstrURL:=api_url
                    
    'Send the request
    xml_obj.send

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)