GitHub - weiruifeng/fetchTest

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

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

Readme

Activity

Stars

1 star

Watchers

1 watching

Forks

1 fork

Releases

No releases published