Cosmos DB api testing
This is a fork from this original repo. Main changes include:
- Updated to the latest API version of 2018-12-31.
- Focused more on document operations than database and collection operations.
CosmosDBSQL.postman_collection.jsonto Postman collections.
CosmosDBSQLEnv.postman_environment.jsonto Postman environment.
DocumentDBMasterKeyin the environment with your Cosmos DB settings.
mydocpartitionkeyin the url or headers of the request with your values. Note that these values in the url must be hardcoded. They can't be environment variables, as they are used in the script to compute the auth key. For example:
Replace request body with your document or query content.
In the response header, you will see
x-ms-request-charge, which is the Cosmos DB RU (Request Unit) incurred by the request.