How to use dataType: 'jsonp' but still have application/json in Accept header?

后端 未结 3 480
孤街浪徒
孤街浪徒 2021-01-19 18:20

I want to access a REST service on another domain. If, in JQuery, I specify:

dataType: \'json\'

it fails, as expected, since for cross-doma

3条回答
  •  离开以前
    2021-01-19 18:47

    AFAIK jQuery's implementation of JSONP uses a

提交回复
热议问题