Giter Site home page Giter Site logo

Comments (2)

GerryIsWarrior avatar GerryIsWarrior commented on May 24, 2024

跨域是可以通过的,我在本地部署测试,是可以有用的。我现在抛出到外网访问测试一下。至于参数,本来是之前在xhr中手动设置请求头部的,但是一个朋友说,浏览器会自动加跨域请求头,然后我就去掉了,代码还没来得及更新,马上测试和更新

from ajax.

GerryIsWarrior avatar GerryIsWarrior commented on May 24, 2024

你可以使用我index.htnl中的方法测试,我抛到外网的接口是:http://zhong123893.oicp.net/api/weixin/ajaxT2/ ,post请求,参数分别为name和age。你可以自己测试下

from ajax.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.