以下是个人在项目开发过程中,总结的Http请求工具类,主要包括四种: 1.处理http POST请求[XML格式.无解压]: 2.处理http GET请求[XML格式.无解压]: 3.处理http POST请求[可以解压]: 4.处理http GET请求[可以解压]. using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; us…