WEB前端的一个问题,我手中有一个java写的http Server,调用的是开源的Nanohttpd,页面上数据的提交都是通过xhttp.open("POST", url, true);xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");xhttp.send("");实现的,请问这种方式我如何实现CSRF攻击,我查了资料说可以添加token,我该怎么添加?
添加回答
举报
0/150
提交
取消
