added http methods to /comsume endpoint