API and AJAX Flashcards

1
Q

What is an API?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain the format of APIs

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Review: What is a URL?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Some URLs only hold an image?

A

Yes, if you have that link and that contains a picture of a bulbasaur, we can use that URL to make our website better.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Request Response

A

Remember, the code will use get requests to send data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly