摘要:
原生ajax请求的步骤: get 请求: 1,创建一个xhr变量 var xhr=new XMhttpRequest(); 2,设置请求方式和请求地址 xhr.open('url','http//192.168.213.77:5000/login?username=" + str+ "&passwo 阅读全文
posted @ 2022-03-11 18:55
俺是前端小菜
阅读(2379)
评论(0)
推荐(0)
摘要:
form 表单的acton属性指向url:端口号/(服务器get,post的参数), meyhod=’get'/'post' 请求方式,必须要加上name属性。 <form action="http://192.168.213.77:5000/login" method="get"> <div cl 阅读全文
posted @ 2022-03-11 17:44
俺是前端小菜
阅读(481)
评论(0)
推荐(0)

浙公网安备 33010602011771号