 In the previous video, we had learned how to load an external JSON file using AJAX. We had also learned some basic concepts of AJAX. Now it's time to see the real-time use cases of JSON. JSON is used in many domains such as multiple websites, Android and iOS applications, REST APIs and databases and many more. Alright, now to show you how JSON works in real world, let's implement one API of pdf.co provided by ByteScout. pdf.co provides many APIs to manipulate PDF document. From them, let's implement this API which load detailed information about PDF document such as its property and its metadata information and security permissions in browser console using this cloud API. Okay, so this is the endpoint of this API. Then next we need to set the registered API key in the request header and then we need to set this URL which points to the PDF file. Now let's open this URL. Okay, so this is the PDF file for which we invoke pdf.co API and that API will access this PDF's property and metadata information and security permissions. So let's see that API in action. Okay, so the request we need to send ask for the PDF's property such as who is the author of that PDF, what is the title of that PDF, so on and so forth along with flags asking for a JSON formatted response. And the request we need to send will look like this. Let's try to understand it one by one. First we set the registered API key in this variable which we will set in the request header. Okay, and then we set URL which points to the PDF file which we have already seen. And then we prepare our input parameter object which contain above URL. This object we will use in the send method when we invoke this API. And then to invoke our API using Ajax, first we need to create this XML HTTP request object and set the required parameter in its dot open method. We have already understood the meaning of each and every parameters in the previous video. So let's not go in the detail over here. Okay, and this is our API endpoint. Okay, then we set our API key in the request header using set request header of XHR object. Okay, and then we use this send method with our stringified parameter object which actually execute the entire process and invoke our API. And in between this, we create a function that waits for the data to load successfully. And once we get the data in API response and just to see if everything works, I will preview the JSON object in the browser's console using this JavaScript console.log method. So now let's run this page. And as we know that to run this page, I need to right click on this page and select this option. And here we go. Our left hand side browser contain the PDF file for which we invoke PDF.co API and right hand side browser contains our API's JSON formatted response. Our actual data is resided in this info object. So let me expand this info object and here you can see the PDF property such as who is the author of this PDF file. This PDF file is created and how many pages this PDF is contained. So as you can see that this PDF contain only one page and this are the permission related properties of this PDF. And here is the title of this PDF which you can see over here. So now in the next video, we will see some of the common mistakes which developer may do when working with the JSON data. And we will see how to handle the same. So stay tuned for the next video.