Skip to main content

Netlify Functions Query Params

Nov 14, 2020 • 1 min • TIL #19

To access query parameters in your Netlify Functions, you can access the event.queryStringParameters object available inside the handler function.

For example if you have an email query string, you can access it using

exports.handler = (event, context, callback) => {
  //do something with it