How to do AJAX POST cross-domain with custom headers

后端 未结 2 2036
你的背包
你的背包 2021-01-14 15:03

I have been looking around all over and I cannot find a definitive answer to this.

I need to be able to perform an AJAX POST and send up custom headers. I have full

2条回答
  •  春和景丽
    2021-01-14 15:30

    At the risk of totally sounding like Siri, it sounds like are looking for how to get CORS to work...

    Here's a few resources that will hopefully help:

    • How to get a cross-origin resource sharing (CORS) post request working
    • Getting CORS Working
    • Cross-Origin Resource Sharing Demo
    • Cross-domain Ajax with Cross-Origin Resource Sharing

提交回复
热议问题