API Flashcards

1
Q

What is an API

A

Application Programming Interface - a set of rules to allow software applications to communicate and share data/functions with each other.

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

What are the (3) most common APIs and when should they be used.

A
  1. REST - Applications with well-defined resources, strict control over usage, common for public use cases.
  2. GraphQL - Complex data structures where clients need to specify exactly what they want. Can optimize network usage (Fewer requests)
  3. RPC - High performance with direction communication between critical services.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly