0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

非同期通信 xhr.open

Posted at

xhr.open(”第1引数”,/host/users/, true)

openとはXMLHHttpRequestで定義されているメソッドで、初期化してどのようなリクエストをするか指定するメソッドです。

第1引数 HTTPメソッドの引数 GET
第2引数 パスの指定 /posts/users/
第3引数 非同期通信のon/off true

xhr.send();

「xhr.open()」で、実際に通信する方法(GET / POSTなど)やサーバーの場所(URLなど)を指定し、「xhr.send()」で通信を開始します

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?