Chapter 8. Communicating with Servers
In this chapter, we're going to cover the following topics:
Creating an HTTP GET request to fetch JSON
Creating a request with custom headers
Versioning your API
Fetching JSON data with JSONP
Reading XML data from the server
Using the FormData interface
Posting a binary file to the server
Creating an SSL connection with Node.js
Making real-time updates with Ajax Push
Exchanging real-time messages using WebSockets