curl http://localhost:3000/hello?id=123
Proper short-hand way to use curl with query params is to encapsulate url in quotes. Try:
curl
curl "http://localhost:3000/hello?id=123"