我在Windows>;visualstudio>;Python上运行,并在代码中使用WGET。在
我正在尝试调用API(Post)。在
代码如下:
APIWGET = [WGETInstallationFolder,'--no-check-certificate',"--post-data="% PostFile,"--output-file="+TempReadWritePath + 'TempReadWriteFile' + TimeNow + '.txt',"--wait=2","--content-on-error","--header="+Header, "--output-document="+TempReadWritePath + 'TempReadWriteFile' + TimeNow + '.txt',"--timeout=3","--tries=3", "--save-headers", "https://" +APIGWIP +"xxxxxxxx/"]
call(APIWGET)
并且获取证书的公用名不匹配。。在
提到当我用“GET”调用同一个API时,一切正常。在
目前没有回答
相关问题 更多 >
编程相关推荐