Fix POST, PUT, and DELETE data handling.
Change discussion PUT endpoint.
Ref.: #33.