fixed format of request body to pass the postgetputget test - currently in the request class, probably should be refactored into a file writer class