JQuery's getJSON() not setting Accept header correctly?

前端 未结 3 1871
情话喂你
情话喂你 2020-12-17 20:04

It looks like people have had issues with Accept headers in the past, but I\'m not sure my issue is related. Using jQuery 1.4.2, I\'m having trouble getting JSON with

3条回答
  •  太阳男子
    2020-12-17 20:40

    This is not a bug.

    Since your call is cross-domain, your browser will not allow you to make XHR calls (same-origin policy). Internally, jQuery is working around this using the "

提交回复
热议问题