lotus-1 / autocomplete-nn

week-4 project
0 stars 2 forks source link

Confusion about the input value #18

Open MynahMarie opened 5 years ago

MynahMarie commented 5 years ago

This is something that should be done by the client:

https://github.com/lotus-1/autocomplete-nn/blob/e8d1a486b5d3103b4a89f465a51db8b71a11d0ba/src/handler.js#L16-L18

In the server side, you should be using an npm module like query-string to parse the request.url and extract the value inputed by the user.