Request Parameters

Send Request: In your client JavaScript, send a GET request with a query string parameter:
let request = new XMLHttpRequest()
request.open(`GET`, `/your-route?yourParameterName=yourValue`)
request.send()
Parse Request: In your server JavaScript, extract the query string parameter from the request:
app.get(`/your-route`, (request, response) => {
  let yourValue = request.query.yourParameterName
})