fetch(new Request('url',{method:'POST', headers: {'Content-Type': 'application/x-www-form-urlencoded'},body:"param1=value1¶m2=value2"})).then((resp)=>{console.log(resp)})
按F12,在控制台输入以上格式即可发送POST 请求。
如果觉得《chrome浏览器发送POST请求》对你有帮助,请点赞、收藏,并留下你的观点哦!
时间:2020-07-05 09:20:24
fetch(new Request('url',{method:'POST', headers: {'Content-Type': 'application/x-www-form-urlencoded'},body:"param1=value1¶m2=value2"})).then((resp)=>{console.log(resp)})
按F12,在控制台输入以上格式即可发送POST 请求。
如果觉得《chrome浏览器发送POST请求》对你有帮助,请点赞、收藏,并留下你的观点哦!
长期失眠如何每晚入睡快睡得香: 睡眠是最好的补药 做好这几点
2024-07-21