0.1.7 • Published 6 years ago

cosmosdb-header-gen v0.1.7

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

Usage

import { generateCosmosDBHeaders } from "cosmosdb-header-gen"

let headers = generateCosmosDBHeaders("GET", "docs", "dbs/{dbname}/colls/{collectioname}", "{yourMasterKey}");

Example result headers:

{
  "Content-Type": "application/json",
  "Authorization": "type%3Dmaster%26ver%3D1.0%26sig%3Df1Uw5FGQwE4N4pw8sbCkHZCi32zxVLSg%",
  "x-ms-version": "2017-02-22",
  "x-ms-date": "Thu, 05 Jul 2018 09:37:39 GMT",
};
0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago