【文件属性】:
文件名称:nor-rest-jquery:用于 Sendanor REST API 的 jQuery REST 客户端插件
文件大小:6KB
文件格式:ZIP
更新时间:2021-06-02 20:48:19
JavaScript
nor-rest-jquery
用于 Sendanor REST API 的 jQuery REST 客户端插件
用法
首先确保包含我们的 jQuery 插件文件jquery.nor.rest.js 。
使用 GET 请求获取数据
/api返回时:
{
"$ref" : "http://zeta3-lts-local:3000/api" ,
"profile" : {
"$ref" : "http://zeta3-lts-local:3000/api/profile" ,
"username" : "foo"
}
}
...和/api/profile返回:
{
"$ref" : "http://zeta3-lts-local:3000/api/profile" ,
"username" : "foo" ,
"email" : "foo@exam
【文件预览】:
nor-rest-jquery-master
----.gitignore(97B)
----README.md(1KB)
----LICENSE(1KB)
----package.json(1KB)
----src()
--------jquery.nor.rest.js(11KB)
----lint.json(3KB)