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