ajax problem - 200 OK in firebug but red message with no response body

前端 未结 6 1711
一个人的身影
一个人的身影 2021-02-18 16:21

I have small ajax problem related to cross domain as i see it.

On localmachine i created html example with some ajax: in registration text field user types \'username\',

6条回答
  •  抹茶落季
    2021-02-18 16:46

    The 200 status reported in Firebug does not indicate the validity of the cross-domain ajax call, be it successful or not.

    You might want to try using a proxy method to perform the call.

    E.g. JavaScript: Use a Web Proxy for Cross-Domain XMLHttpRequest Calls

提交回复
热议问题