0
我正在研究Azure Redis
缓存,并且我正在使用REST API
来创建缓存。我得到的回应是:Azure Redis缓存授权标头
HTTP/1.1 401 Unauthorized
{
"error": {
"code": "AuthenticationFailed",
"message": "Authentication failed. The 'Authorization' header is missing."
}
}
我在文档中找不到任何Authorization header
。有人可以建议生成授权标题的过程吗?
嘿@Cylian。你可以帮助我与授权头部分? – badcoder29
我猜你试图使用此链接创建Redis缓存帐户 - https://docs.microsoft.com/en-us/rest/api/redis/Redis/Create? –
@GauravMantri是的,我使用相同的链接。我正在尝试使API调用来设置缓存。但它要求授权标题。我不知道如何生成它? – badcoder29