You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now I'm trying to test a deployment I made where I'm checking if one or more values are present on a specific field in any item. As such, this is what I'm sending:
this logic is ok when I'm testing locally, but isn't working against dynamodb using the aws-api-gateway-cli-test, while there are values to be returned for such a query. What am I missing?
Gil
The text was updated successfully, but these errors were encountered:
On the AWS documentation, it states that when you pass repeated query string values, the object sent to Dynamo gets a specific field with all the possible values for any field. In this case, I want to use an URL that has the following structure:
.../notes?tag=Rust&tag=nodejs
and the object created by the API Gateway contains this part:
As I'm interested in all the values for the query field, I have to access the multiValueQueryStringParameters. This works locally when I try to mock the service with a hardcoded request with this parameter, like in the code snippet I sent originally.
However, when I try to use the CLI, I don't know how to pass these multi-valued parameters. That's my question here: how do I do this?
Hi,
Right now I'm trying to test a deployment I made where I'm checking if one or more values are present on a specific field in any item. As such, this is what I'm sending:
--additional-params {\"queryParams\":{\"tag\":\"Rust\",\"tag\":\"nodejs\",\"op\":\"or\"}}
I can use the
tag
parameter on the multiValueQueryStringParameters object, as such:this logic is ok when I'm testing locally, but isn't working against dynamodb using the aws-api-gateway-cli-test, while there are values to be returned for such a query. What am I missing?
Gil
The text was updated successfully, but these errors were encountered: