Express - Allow get request even if something after slash

Let’s say I have links like this where the last part after the slash is automatically generated and different for every user:
How do I get it to still allow the get request and not have to make a new app.get request handler for all of the random ids? I then want to grab that ID from the url using split().

If you know how to do this, let me know :slight_smile:

app.get("/something/:id", (req, res) => {
1 Like

Amazing! Who knew it could be so simple to do!

Thanks for the help :slight_smile: