Issue when response is null for POST type request on 2012 platform
Troubleshooting null responses from the server on 2012 platform
Add (if not present)/Change the header with setRequestHeader method. After this change, proper response would be received.
this.XHRObj.open("POST", url, true);
this.XHRObj.open("POST", url, true); this.XHRObj.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");