API and AJAX Flashcards
What is an API?
Application Programming Interface. APIs define a set of rules in which you can interat with a particular application. For web developers, all of those useful URLs are specifically designed to be used by other developers or web pages
Explain the format of APIs
APIs are usually web URLs where you can pass information either in the URL or by posting a form to the URL and the server returns JSON or similar data formats.
Review: What is a URL?
Remember that URLs are just a human-friendly way to identify the location of the computer that holds the data we’re looking for. The data we found can be a few different things, either an HTML page, an image, a video, JS libraries or JSON.
Some URLs only hold an image?
Yes, if you have that link and that contains a picture of a bulbasaur, we can use that URL to make our website better.
Request Response
Remember, the code will use get requests to send data