有人能帮我解决这个问题吗?这是我的代码
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.发布于 2020-06-04 18:02:32
这是一个相当基本的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"https://stackoverflow.com/questions/62163791
复制相似问题