Handling API Request
API
Application Programming Interface exist in every programming language in both backend and frontend side
An example in javascript: Class X have an API called getName
class X {
private name;
constructor (name) {
this.name = name;
}
getName() {
return `Name: ${this.name}`;
}
}
Or API usually know as backend public API in RESTFUL or GRAPHQL
This is an example of a public API which is provided by a backend service
Link: Swagger