Accept POST and GET for commands