How to convert the below statement to the synchronous request? xhttp.open("GET", "info.php", true);
1.Convert the third parameter to "false"
2.Convert the third parameter to "sync"
3.Convert the first parameter to "sync_GET"
4.All of the above
If the value of status property is 404, what does it mean?
1.OK
2.Forbidden
3.Method Not Allowed
4.Page not found
Which are the two properties to hold the status of XMLHttpRequest?
1.status and statusText
2.statusNum and statusText
3.statusId and statusText
4.none of the above
"GET is simpler and faster than POST." – Is this statement true?
1.Yes
2.no
3.all of the above
4.None of the mentioned
The ______ function is called every time the readyState changes.
1.getreadystatechange
2.onreadystatechange
3.onsetreadystatechange
4.toreadystatechange
Which is the correct syntax to add HTTP headers to the request?
1.setRequestHeader(value, header)
2.setAllRequestHeader(value, header)
3.setRequestHeader(header, value)
4.setAllRequestHeader(header, value)
Which property returns the response data as XML data?
1.getXML
2.getResponseXML
3.responseXML
4.responseAllXML
Which property returns the status-number of a request?
1.statusText
2.statusXML
3.status-number
4.status
Which property returns the status-text?
1.statusText
2.statusXML
3.status-number
4.status