chicks
13 years agoRegular Contributor
XML HTTP request fails, CURL works
At the suggestion of another member of this forum ( thanks Nick!) I have been successfully testing restful web services by using the xml http object to form my web service requests.
i.e. var XmlHttpRequest = new ActiveXObject("MSXML2.XMLHTTP.3.0");
To help in manual debugging, I am creating the associated CURL requests for the web services.
Last week some of the XmlHttpRequest started returning errors on the parameters for invalid values. However, the associated curl requests still work. The behavior seems like all the parameters are not being properly received when using the XML HTTP request.
I have not changed my code. (The same scripts are workiing in in our staging and production environments.) The developers claim they have not changed their code.
Has anybody seen anything similar or have any theories?
i.e. var XmlHttpRequest = new ActiveXObject("MSXML2.XMLHTTP.3.0");
To help in manual debugging, I am creating the associated CURL requests for the web services.
Last week some of the XmlHttpRequest started returning errors on the parameters for invalid values. However, the associated curl requests still work. The behavior seems like all the parameters are not being properly received when using the XML HTTP request.
I have not changed my code. (The same scripts are workiing in in our staging and production environments.) The developers claim they have not changed their code.
Has anybody seen anything similar or have any theories?