Can AJAX use protocols other than HTTP or HTTPS?

后端 未结 2 1134
南旧
南旧 2020-12-21 00:25

I wonder if AJAX can use protocols other than HTTP or HTTPS.

2条回答
  •  醉话见心
    2020-12-21 01:02

    XMLHttpRequest (XHR) is an API available to web browser scripting languages such as JavaScript. It is used to send HTTP or HTTPS requests to a web server and load the server response data back into the script.

    from wikipedia

提交回复
热议问题