changing the play and pause endpoints to be puts rather than gets