In Chapter 3, AJAX Requests with JSON, we used jQuery's getJSON method to ingest the students' JSON feed; in this chapter, we will take a step forward and send request parameters over to the server. We have already come across cross-domain requests in the third chapter; we will be exploring cross-domain requests in more depth in this chapter. Here is the content of the chapter:
- Making GET and POST AJAX calls with JSON data
- The problem with cross-domain AJAX calls
- Introduction to JSONP
- Implementing JSONP
Let's start by understanding the concept of APIs.