Made the id parameters come from route

Made it so the id parameters are read exclusively from the route params instead of any source of params (query string or request body).