0

有人可以帮我解决这个问题这是我的代码

curl -X POST -u "apikey:Zxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ^
--header "Content-Type: text/plain;charset=utf-8" ^
--header "Accept: application/json" ^
--data-binary @profile.txt ^
"https:/xxxxxxxxxxxxxxxx1a/v3/profile?version=2017-10-13"

这是错误

curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - La función de revocación no puede comprobar la revocación para el certificado.
4

1 回答 1

0

这是一个相当基本的 curl 错误,因为它不了解您正在尝试什么。

我认为您正在多行运行命令。Curl 是单行命令。您在示例中看到的线条标记是线条延续。行继续的格式因环境而异。如果您不知道环境的行继续标记,请在单行上运行命令,例如。

curl -X POST -u "apikey:{apikey}" --header "Content-Type: application/json" --header "Accept: application/json" --data-binary @profile.json "{url}/v3/profile?version=2017-10-13&consumption_preferences=true&raw_scores=true"
于 2020-06-04T10:02:31.673 回答