# MolyMade.Http **Repository Path**: Molymade/MolyMade.Http ## Basic Information - **Project Name**: MolyMade.Http - **Description**: Http requests - **Primary Language**: C# - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-09-05 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README MolyMade.Http =================== 一个建立在.Net Framework HttpWebRequest基础上的HTTP协议请求类库,尽量模仿了Python的第三方类库Requests的API。 示例 ------------- **Get请求:** Dictionary< string,string> parameters = new Dictionary< string, string> { ["wd"] = "mdzz" }; Headers headers = new Headers() { KeepAlive = true, Host = "www.baidu.com", UserAgent = UserAgents.Ie9 }; Response r = Requests.Get("http://www.baidu.com", parameters, headers); Console.Write(r.Text);