Write ws data to body