[ad_1]
Im calling a Java App that is called like "http://localhost:32567?test=aaa" trying to send a a text response to a browser that connects. Response I send is like
HTTP/1.1 200 OK
Content-Type: text/xml
Cache-Control: no-cache
Date: Thu Nov 02 15:56:26 NZDT 2017
<?xml version="1.0" ?><root><message>hello world</message><status>OK</status></root>
When I open the page in browser it works fine and but when I call it using AJAX as Post request the HTTP status returned is 0?
[ad_2]
لینک منبع