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.