'How can i build an URL with searchaparams [duplicate]

for example : i want users to enter http://localhost:5000/ANY_FILE_NAME?height=200?width=200 in URL bar

how can i build the URL to receive the height and width and extract them in the express server I've created.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source