GET /movies example => http://localhost:5000/movies
GET /movies/id/:id example => http://localhost:5000/movies/id/22
GET /movies/title/:title example => http://localhost:5000/movies/title/Inception
GET /movies/runtime/:runtime example => http://localhost:5000/movies/runtime/60
GET /movies/year/:year example => http://localhost:5000/movies/year/2015
GET /movies/genre/:genre
example => http://localhost:5000/movies/genre/Comedy
GET /movies/director/director example => http://localhost:5000/movies/director/Tim Burton
GET /movies/actor/:actor example => http://localhost:5000/movies/actor/Geena Davis
The order by default is asc GET /movies/orderbyyear example => http://localhost:5000/movies/orderbyyear AND GET /movies/orderbyyear?order=asc example => http://localhost:5000/movies/orderbyyear?order=asc
To have the order desc use this request method : GET /movies/orderbyyear?order=desc example => http://localhost:5000/movies/orderbyyear?order=desc
The order by default is asc GET /movies/orderbytitle example => http://localhost:5000/movies/orderbytitle AND GET /movies/orderbytitle?order=asc example => http://localhost:5000/movies/orderbytitle?order=asc
To have the order desc use this request method : GET /movies/orderbytitle?order=desc example => http://localhost:5000/movies/orderbytitle?order=desc
The order by default is asc GET /movies/orderbyruntime example => http://localhost:5000/movies/orderbyruntime AND GET /movies/orderbyruntime?order=asc example => http://localhost:5000/movies/orderbyruntime?order=asc
To have the order desc use this request method : GET /movies/orderbyruntime?order=desc example => http://localhost:5000/movies/orderbyruntime?order=desc