$request is an array, not an object.