https://github.com/willworks/ajax
example for ajax and jsonp
https://github.com/willworks/ajax
Last synced: 5 months ago
JSON representation
example for ajax and jsonp
- Host: GitHub
- URL: https://github.com/willworks/ajax
- Owner: willworks
- License: mit
- Created: 2015-09-07T06:11:57.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-15T09:30:34.000Z (almost 11 years ago)
- Last Synced: 2025-05-18T20:08:25.604Z (about 1 year ago)
- Language: HTML
- Size: 168 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ajax
example for ajax and jsonp
后台用node实现,使用时进入目录,执行以下命令
- npm install
##### 使用方法
- node server.js,然后在浏览器打开http://localhost:8080
- 在目录下进入app文件夹,直接双击打开index.html
然后F12打开控制台,分别操作上述两个页面,查看http报文细节,用心去感受跨域,尤其是POST的可以跨域