Open MynahMarie opened 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.
npm
query-string
request.url
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 likequery-string
to parse therequest.url
and extract the value inputed by the user.