导航

随笔分类 -  Http请求

摘要:一、传统 ajax跨域访问是一个老问题了,解决方法很多,比较常用的是JSONP方法,JSONP方法是一种非官方方法,而且这种方法只支持GET方式,不如POST方式安全。 即使使用jQuery的jsonp方法,type设为POST,也会自动变为GET。 官方问题说明: "script": Evalua 阅读全文

posted @ 2017-08-30 09:10 清浅ヾ

摘要:1 using System; 2 using System.Collections.Generic; 3 using System.IO; 4 using System.Linq; 5 using System.Net; 6 using System.Net.Security; 7 using System.Security.Cryptography.X509Cer... 阅读全文

posted @ 2017-08-30 07:00 清浅ヾ