I thin there is an error in the exemple. It should be array('GET', 'POST', 'PUT'...).