参考:https://www.cnblogs.com/ck168/p/5652773.html

1. HttpClient

2. WebRequest

3. Ajax

最常用的请求方式是get/post, post请求需要传Httpcontent, 其实就是实体。