Changed request type of listAllGroups to GET