admin管理员组

文章数量:1626244

浏览器按F12或打开开发者工具,在console(控制台)标签页下输入

fetch(new Request('http://localhost:8080/power/font/getToken',{
    method:'POST', 
    headers: {'Content-Type': 'application/x-www-form-urlencoded'},
    body:"userName=000&password=123456"
})).then((resp)=>{console.log(resp.json())})

返回结果查看:

 

本文标签: 浏览器post