AJAX Flashcards
1
Q
module.exports
A
2
Q
- What does the AJAX acronym stand for?
*
A
Asynchronous javascript and XML
3
Q
- Which object is built into the browser for making HTTP requests in JavaScript?
A
- XML http requests
4
Q
- What event is fired byXMLHttpRequestobjects when they are finished loading the data from the server?
A
- Load
5
Q
- What is a client?
A
- A service requester, consuming data from elswhere
6
Q
- What is a server?
A
- Providers of a resource and data
7
Q
- Which HTTP method does a browser issue to a web server when you visit a URL?
A
- GET
8
Q
- What three things are on the start-line of an HTTPrequestmessage?
A
- An HTTP method, verb(GET, PUT, POST) or a noun(like HEAD or OPTIONS), a request target for the destination and, the version we are dealing with.
9
Q
- What three things are on the start-line of an HTTPresponsemessage?
A
- Protocol version, status code and status text
10
Q
- Is a body required for a valid HTTP request or response message?
A
No
11
Q
*
* What is the internet
A
- An interconnected highway of cables. The Hard ware.
12
Q
- What is AJAX?
A
- Ajax allows you to request data from a server and load it without having to refresh the entire page.