aws-api-gateway-client
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -89,4 +89,3 @@ /* | ||
apigClient.invokeApi = function (params, pathTemplate, method, body, additionalParams) { | ||
if(additionalParams === undefined) { additionalParams = {}; } | ||
apigClient.invokeApi = function (params, pathTemplate, method, additionalParams={}, body='') { | ||
@@ -101,3 +100,2 @@ var request = { | ||
return apiGatewayClient.makeRequest(request, authType, additionalParams, config.apiKey); | ||
@@ -104,0 +102,0 @@ }; |
{ | ||
"name": "aws-api-gateway-client", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "A node.js moduel for AWS API Gateway client", | ||
@@ -5,0 +5,0 @@ "main": "apigClient.js", |
@@ -22,3 +22,3 @@ # Overview | ||
Set config params and create a client. For autholization, additional information is required as explained below. | ||
Set invokeUrl to config and create a client. For autholization, additional information is required as explained below. | ||
``` | ||
@@ -54,3 +54,3 @@ config = {invokeUrl:'https://xxxxx.execute-api.us-east-1.amazonaws.com} | ||
apigClient.invokeApi(params, pathTemplate, body, additionalParams) | ||
apigClient.invokeApi(params, pathTemplate, method, additionalParams, body) | ||
.then(function(result){ | ||
@@ -57,0 +57,0 @@ //This is where you would put a success callback |
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
24359
480