aws-api-gateway-client
Advanced tools
Comparing version 0.1.10 to 0.1.11
@@ -96,4 +96,4 @@ /* | ||
path: pathComponent + uritemplate.parse(pathTemplate).expand(params), | ||
headers: apiGateway.core.utils.parseParametersToObject(params, []), | ||
queryParams: apiGateway.core.utils.parseParametersToObject(params, []), | ||
headers: params, | ||
queryParams: params, | ||
body: body | ||
@@ -100,0 +100,0 @@ }; |
{ | ||
"name": "aws-api-gateway-client", | ||
"version": "0.1.10", | ||
"description": "A node.js moduel for AWS API Gateway client", | ||
"version": "0.1.11", | ||
"description": "Node.js moduel for AWS API Gateway client", | ||
"main": "apigClient.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -83,1 +83,14 @@ [![dependencies Status](https://david-dm.org/kndt84/aws-api-gateway-client/status.svg)](https://david-dm.org/kndt84/aws-api-gateway-client) | ||
``` | ||
#Troubleshooting | ||
The standard Javascript SDK as generated by AWS API Gateway hard codes assertions for your query parameters and headers, which is not possible in this module. Therefore, the params object passed to your `apigClient.invokeApi()` must contain keys that conform exactly to your API definitions. | ||
``` | ||
http://example.com/prod?userId=123&info=hello&state=NY | ||
var params = { | ||
userId: '123', | ||
info: 'hello', | ||
state: 'NY' | ||
} | ||
``` |
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
24886
96