- node a.js
- 全局下载http-server:npm install http-server -g;
- 在rest.html文件所在目录。执行命令:http-server -a 127.0.0.1 -p 10000
- 在浏览器中打开:http://127.0.0.1:10000/rest.html
- 打开控制台,查看控制面板(console).然后点击不同的按钮,查看network.
-
Notifications
You must be signed in to change notification settings - Fork 2
Ai01/cors
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
cors 简单实现
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published