I have create a mean stack app. In this app when we search something I am parsing a parameters to the back-end from the front end which has been created using angular 2.
router.get('/search/:search', (req, res) => {
In this the value is the search keyword.
This is not the REST URL format right?
How do I make it look like a rest URL? Something like this?
/cars?color=blue&type=sedan&doors