Describe the formats and protocols used by AJAX

bookmark

  • The client web page is creates the XmlHttpRequest, and thus the connection from the web page to an application on the server.
  • Part of that connection determines how the response can be produced to the client code – via the use of a “callback” routine.
  • The callback routine is called multiple times which come with a status code which indicates the reason for the invocation.
  • When a request can be successfully completed by the server application, a response should also be produced.