query must have to use id instead of url parameter