我正在尝试获取Azure cosmos db分区范围,但坚持使用Authentication方法。
https://docs.microsoft.com/en-us/rest/api/cosmos-db/get-partition-key-ranges
身份验证显示:类型%3dmaster%26ver%3d1.0%26sig%3dEConYmRgDExu6q%2bZ8GjfUGOH0AcOx%2behkancw3LsGQ8%3d
任何人都可以向我解释一下这种身份验证类型以及如何为API请求生成此身份验证。
谢谢 萨提亚
答案 0 :(得分:1)
您需要为每个请求创建令牌,以从/从cosmos DB Rest API获取信息/发布信息。我在文章中使用PostMan撰写了有关此内容的文章。希望对您有所帮助。 https://h-savran.blogspot.com/2019/02/cosmos-db-rest-api-with-postman.html