As in query string to separate parameters?


I need to in the end was another option, but using /, ie it is necessary so:

But on the server I have a /search/:query that displays the query that's all after query? in the URL and it does not take a parameter after the slash as separate. How to fix it?
July 9th 19 at 10:23
2 answers
July 9th 19 at 10:25
IMHO you can't do that, add the slashes after the parameters.

But you can pass your dataset by adding a custom delimiter like so:
params?query=a:1,b:2,c:3&other=d:1,g:2, etc.
July 9th 19 at 10:27"/")

Find more questions by tags Express.jsNode.js