i am trying to call AWS Lambda using APIGateway and it returns HTML Code. it works fine when i dont pass any parameters, but i want to pass some QueryString parameters and use them in Lambda. i have my Lambda in C# and i see parameters being passed from API
response from API
"headers": {},
"QueryStringParameters": {
"Environment": "xzc"
},
"PathParameters": {}
}
In Lambda, the APIGatewayProxyRequest is coming as null
API Lambda
public string FunctionHandler(APIGatewayProxyRequest request, ILambdaContext context)
how do i read the querystring parameters in AWS Lambda in C#