简体   繁体   中英

Issue in XmlHttpRequest .send

I tried to do XmlHttpRequest.send request and it failed.

I got error message -

MLHttpRequest Exception 101

I don't have a lot of knowledge in XmlHttpRequest .

I tried to ran it on chrome and firefox

this is how I open the connection

         this.xmlHttpRequest.open("POST", url, isAsync );

send

         this.xmlHttpRequest.send( request.getData() );

what could be the problem?and how I can solve this issue ?

Are you using the correct protocol? If it requires SSL and your url is http:// then you may receive a 101 status code.

http://100pulse.com/http-statuscode/101.jsp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM