jQuery AJAX Cross Domain with BASIC Authentication

前端 未结 3 1235
轻奢々
轻奢々 2021-01-14 18:22

I\'m attempting to make use of the Beanstalk (beanstalkapp.com) API by pulling data into a webpage so people can view it without accessing my SVN.

What I\'m doing to

3条回答
  •  被撕碎了的回忆
    2021-01-14 19:07

    you cant get a json from other domain than yours. this is a security issue called same origin policy to get over it use JSONP not JSON.

提交回复
热议问题