I am new in web development and trying to learn AWS. I have made a lambda function for listing. What I am doing here is I am showing listing, if I get counteId in params(URL) then it shows only data of that counter id else it shows all data. My lambda function was working fine. But I am having a problem while API integration.
this is how I am accessing pathparameters which are in the event
this is how I am configuring event
and this is my query and response
then I create an API gateway for it. this is what I did while creating Resource
I want to get only data of counterId 1, but I am getting whole data. response
My HTTPmethod is "ANY" and I choose lambda proxy integration in request integration. I don't know how to send path parameters. Kindly help me.