-1

私の応答ヘッダーは

Access-Control-Allow-Meth...    GET, POST
Access-Control-Allow-Orig...    *
Cache-Control   no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection  Keep-Alive
Content-Length  81
Content-Type    text/html
Date    Mon, 26 Aug 2013 06:35:53 GMT
Expires Thu, 19 Nov 1981 08:52:00 GMT
Keep-Alive  timeout=5, max=99
Pragma  no-cache
Server  Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7
X-Powered-By    PHP/5.4.7`

そして、リクエストヘッダーは

Accept  application/json, text/javascript, */*; q=0.01
Accept-Encoding gzip, deflate
Accept-Language en-US,en;q=0.5
Cache-Control   no-cache
Connection  keep-alive
Content-Length  31
Content-Type    application/x-www-form-urlencoded; charset=UTF-8
Cookie  USERNAMEEMAIL=shan%40atlos.com; PHPSESSID=8asm46iltcqc9oahsbaaap1c16
Host    localhost
Pragma  no-cache
Referer http://localhost/test/
User-Agent  Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
X-Requested-With    XMLHttpRequest`

Firefox で "Not Well Formed" というエラーが表示されます。この問題の原因は何ですか。データをjson形式で正しく取得していますが、非常に迷惑なエラーも表示されます

リクエストGetTopNotification を作成し、クラスを使用して Ajax リクエストを ワークスペースにするJava スクリプト コード

4

1 に答える 1