Dumb query rest manager.