【文件属性】:
文件名称:RESTful:带有节点的RESTful Web系统构建
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-02 08:03:55
JavaScript
RESTful的
带有节点的RESTful Web系统构建
节点获取URL数据
官方API参考
/* 测试代码
* POST请求
var xmlhttp = new XMLHttpRequest();
var user = 'name=mohit&password=password4&profession=teacher&id=4';
xmlhttp.open('POST','http://localhost:8080/addUser',true);
xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
xmlhttp.send(user);
* GET请求
var xmlhttp = new XMLHttpRequest();
【文件预览】:
RESTful-master
----server.js(11KB)
----LICENSE(1KB)
----README.md(5KB)
----data()
--------users.json(374B)