开发者

Error while sending XHR from Chrome extension to PHP page

I am una开发者_如何学Cble to send an XHR from a Chrome extension to a PHP page.I am getting the error :

   **Your client has issued a malformed or illegal request.**

This is the error that is being returned by the xmlhttp.responseText (here xmlhttp is the XHR). Can someone please tell me what the problem is?

PS: The PHP page works well when directly loaded in the browser.


Make sure your sending correct data. That error is your server side not accepting correct data. Double check your content type too.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜