Thanks to visit codestin.com
Credit goes to github.com

Skip to content

weiruifeng/fetchTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fetch请求

项目启动

前端项目:npm run gulp 后端项目:npm run start

说明

fetch还没有写,只是写了一部分关于cors的请求

cors请求

页面:http://127.0.0.1:7000/cors.html

cors请求页面包括简单请求(get)、需要预检请求(put)、canvas.toDataURL()的三种跨域请求的实例 在简单请求中包含了身份校验和没有身份校验的比较

注意事项:

node需要6.0.0及以上版本,否则会报错

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published