" Windows Azure Platform series of articles directory "
Today, we study how to use Postman access Azure CosmosDB.
CosmosDB API interfaces, can refer to: https://docs.microsoft.com/en-us/rest/api/cosmos-db/get-a-document
1. First, we log https://portal.azure.cn , get url and keys
2. Installation Postman, introduced the following two documents:
(1) Environment Variables
Value DocumentDBMasterKey modifications, modifications to the figure of the Primary Key
Value DocumentDBHost modifications, modifications to CosmosDB the DNS Name
(2) Introduction Collection
3. Open Postman, select DocumentDBOptions
Collection API that can be accessed are:
(1)List Databases
(2)Get All Collections
Modify the Name the DNS: HTTPS: // {{}} DocumentDBHost / DBS / [modified to herein DatabaseName] / colls
(3)Get All Document
(4)Query Collection MemberInfo
(5)Get a Document