aws-api-gateway-client
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "aws-api-gateway-client", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "A node.js moduel for AWS API Gateway client", | ||
@@ -5,0 +5,0 @@ "main": "apigClient.js", |
# Overview | ||
A node.js module for AWS API gateway client. This module is based on auto-generated JavaScript SDK, however, it can be used as node.js module and generalizes endpoint specific functions. | ||
A node.js module for AWS API gateway client. This module is based on auto-generated JavaScript SDK, however, it can be used as node.js module and generalizes endpoint specific methods. | ||
@@ -8,3 +8,3 @@ Reference: | ||
# Prerequisites | ||
For the JavaScript SDK to work your APIs need to support CORS. The Amazon API Gateway developer guide explains how to [setup CORS for an endpoint](). | ||
For the JavaScript SDK to work your APIs need to support CORS. The Amazon API Gateway developer guide explains how to [setup CORS for an endpoint](https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-cors.html). | ||
@@ -23,3 +23,3 @@ # Install | ||
Set config params and create a client. For autholization, additional information is required and explained below. | ||
Set config params and create a client. For autholization, additional information is required as explained below. | ||
``` | ||
@@ -37,2 +37,3 @@ config = {invokeUrl:'https://xxxxx.execute-api.us-east-1.amazonaws.com} | ||
}; | ||
// Template syntax follows url-template https://www.npmjs.com/package/url-template | ||
var pathTemplate = '/users/{userID}/profile' | ||
@@ -83,4 +84,1 @@ var method = 'GET'; | ||
``` | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24418
81