add support for encoding body params in delete requests