12 2019 档案

摘要:安全拦截思路: 根据IP以及请求次数,该IP超过规定请求次数,就有很大可能是非正常用户进行的请求(比如WEB攻击),这时候进行拦截,拦截成功会提示:The allowed number of requests has been exceeded. 安全拦截的具体方法: 打开VS2017或VS2019 阅读全文
posted @ 2019-12-04 12:08 CHPowerljp 阅读(726) 评论(0) 推荐(2)
摘要:在API前添加 [HttpPost] 表示只允许POST方式请求 [HttpPost] public IHttpActionResult Get_BIGDATA([FromBody]Datas Datas) { try { return Json(Datas.rid); } catch (Excep 阅读全文
posted @ 2019-12-04 12:07 CHPowerljp 阅读(417) 评论(0) 推荐(0)