In order to get around the same origin policy, we will be using JSONP, which is JSON with Padding. One exception under the same origin policy is the
In this example, we are padding the
students object into the
myCallback function and we have to reuse the
myCallback function in order to retrieve the
students object. Now that we understand how JSONP works, let's use Reddit's JSON API to fetch the data. We...