relates to #17

change the way data is handled for DELETE requests