MVC
qq_40768266
比萌新还要新的胎新
展开
-
API调用小练习
API调用小练习:using System;using System.Collections.Generic;using System.Linq;using System.Net.Http;using System.Threading.Tasks;using System.Web;using System.Web.Mvc;namespace MyWeb.Controllers{...原创 2019-12-19 16:09:19 · 264 阅读 · 0 评论 -
HttpClient的使用方式
在MVC控制器中的使用方式public class HomeController : Controller{ public ActionResult Index() { HttpClient client = new HttpClient(); //创建一个HttpClient对象实例 //通过httpclient请求 https://www....原创 2019-12-18 10:11:30 · 106 阅读 · 0 评论