Lets say we have a get request which calls to display information based on idapp.get('/sample/:id', (req,res);How would our front end be able to determine what is the id for the request? do we use store the user id when the user is logging in and then save it in a session.After which we add it it the get request from our front add when we want to invoke it?
Submitted May 17, 2019 at 02:19AM by Possible_Hawk
No comments:
Post a Comment