← flaviocopes.com

How to access query parameters in Netlify functions

Published May 24 2020

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) => {
  event.queryStringParameters.email
  //do something with it
}


Check out my books 👇🏼

© 2023 Flavio Copes Flavio Copes using Notion to Site Notion to Site

Interested in solopreneurship?