chenjiahan / chenjiahan/front-end-notes

ajax跨域请求

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
22
Forks
5
PR merge metrics
No merged PRs in 30d

Description

之前utils.js中的ajax是不是不支持跨域请求,www.51zhiquan.com请求dev.51zhiquan.com下的内容时Request Method 变成了OPTIONS
![1](https://cloud.githubusercontent.com/assets/8450296/9389425/99f178c6-479d-11e5-9953-012a29f321f5.png)
![2](https://cloud.githubusercontent.com/assets/8450296/9389432/9fe864ba-479d-11e5-90fe-d64cb4c7fee4.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading utils.js and locating the ajax implementation referenced in the report. Reproduce the request from www.51zhiquan.com to dev.51zhiquan.com and inspect the reported OPTIONS request; done means confirming whether the behavior is supported and documenting or resolving the cross-origin request issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.