1

How do i get the parameters supplied in a URL in node using express? So far iv'e tried using body-parser middlewear, but it either doesn't support this type of parsing or i haven't found the right documentation. any help would be much appreciated!

example request : http://xxx.xxx.xxx.xxx/something?var1=321&var2=123

so essentially my question is how do i access var1 and var2 when the server receives this URL

Mladen Kajic
  • 125
  • 1
  • 2
  • 7

0 Answers0