Multiple choice technology programming languages

POST requests can also be send through the open method of the XMLHttpRequest Object

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The open() method of XMLHttpRequest only initializes the request parameters (method, URL, async flag). The actual data is sent using the send() method. For POST requests, you call open('POST', url) first, then send(data). The open() method does not send the POST data itself.