gpt4 book ai didi

约德利 : Invalid token in authorization header

转载 作者:行者123 更新时间:2023-12-02 06:40:25 25 4
gpt4 key购买 nike

我正在尝试在 Yodless REST Web 服务上测试 GET 调用。

我尝试按照他们的指示进行操作,但没有成功。

enter image description here

看起来他们有两个 token (Cobrand 和 User token )

不确定这些 token 中哪一个是我需要放入授权 header 中的访问 token 。

但是我都尝试过,并且都收到“授权 header 中的无效 token ”,如下所示。

使用“Cobrand token ”作为授权 header

enter image description here

使用“用户 token ”作为授权 header

enter image description here

有人可以告诉我我的请求有什么问题吗?

最佳答案

我明白了。

看起来我需要按如下方式设置授权 header

{cobSession=XXX,userSession=YYY}

一旦上述格式化数据作为有效负载的一部分发送,我就能获得成功的响应。

关于约德利 : Invalid token in authorization header,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45498044/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com