Throughout this book, we’ve made reference to APIs, but we haven’t gone into detail about how they work. To put it simply, an API is a way for us to request and receive information from a computation process happening outside of your current application. This includes other computers and servers. API, which stands for application programming interface, provide a standard mechanism for sending and receiving this interaction. If you want to create things like login pages, user accounts, or persistent user ...
10. Fetching Data, APIs, and Promises
Get How JavaScript Works: Master the Basics of JavaScript and Modern Web App Development 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.