Summary

HTTP GET and POST request methods are two of the most popular HTTP methods that are used to transfer data from clients to servers. This chapter provides an in-depth understanding of how GET and POST request methods are used to transfer data using asynchronous requests. We then proceeded to look at what the issues are with cross-domain asynchronous requests; we used the exception of the <script> tag to perform our JSONP asynchronous script calls to fetch the data from a different domain. In the next chapter, we will be building our photo gallery application.

Get JavaScript and JSON Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.