Can I set headers in cross domain json requests?

后端 未结 3 1261
予麋鹿
予麋鹿 2020-12-16 04:11

I have done some research on the internet, but I didn\'t manage to get the complete picture about this subject. Can anyone help to solve this answer for now and forever?

3条回答
  •  天命终不由人
    2020-12-16 04:34

    Since "jsonp" works by creating an script tag and using the attribute src= to load resource from another domain. So I don't think there is a way to modify request headers.

提交回复
热议问题