NodeJS – Is there any way to hide query params in a request?
does somebody know if you can hide the parameters in a API request?
For example, I have this request: http://localhost:8000/api/v1/user/6639377e89b62ab3c170a2c0 and I don’t want that ID to be visible in DevTools or anywhere else. This ID is of a random user in the database, so I can’t get away using authentication (req.user).
My route looks like this: “/api/v1/user/:id” and I hopefully can do something like this: “/api/v1/user/”.
Can I even achieve such a thing? Or is there an NPM package for this?
Thank you!