我一直在努力让技能管理 API 工作,今天早上我遇到了一个新的障碍,但没有任何改变。我收到一条“昨晚用户没有同意这个操作错误”并且今天早上没有改变任何东西,这是我得到的 curl 日志:
尝试使用与昨晚相同的代码访问 API,现在我得到:
string(513) "
* Hostname api.amazonalexa.com was found in DNS cache
* Trying 54.239.28.187...
* TCP_NODELAY set
* Connected to api.amazonalexa.com (54.239.28.187) port 443 (#0)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none
* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to api.amazonalexa.com:443
* stopped the pause stream! * Closing connection 0 "
Run Code Online (Sandbox Code Playgroud)
这是我正在使用的代码:
ob_start();
$out = fopen('php://output', 'w');
// exchange the access token for …Run Code Online (Sandbox Code Playgroud)