Recently amazon has released Function Url in Lambda.
I just want to know if we can access Query parameters using it , without using the gateway API.
For example https://functionalurl.aws?id=123
I need to get 123
exports.handler = async (event, context, callback) => {
console.log(event);
callback(null, {
statusCode: 200,
body: context,
headers: {
"Access-Control-Allow-Origin": "*",
},
});
};
Event is always null when I access the function url.