我正在尝试使用TIDHttp访问Paypal Api。我用的是Indy 10.6.2.0。不知何故,当我尝试从https获取时,我得到了一个例外:
连接SSL时出错。错误:14094410:SSL
这是我的密码。
idhttp1.Request.CustomHeaders.Add('Content-Type: application/json'); idhttp1.Request.CustomHeaders.Add('Authorization: Bearer Access-Token'); idhttp1.Request.username := cid; idhttp1.Request.Password := secret; idhttp1.ConnectTimeout := -1; idhttp1.get(https://api.sandbox.paypal.com/v1/oauth2/token);
https://indy.fulgan.com/SSL/openssl-1.0.2-i386-win32.zip