Types of APIs in terms of architecture
- REST API
- GraphQL
- SOAP API
- Kafka API
- Async API
Thread π§΅π
- REST API
- GraphQL
- SOAP API
- Kafka API
- Async API
Thread π§΅π
1οΈβ£ REST API
REST APIs allow you to perform CRUD (create, read, update, and delete) operations between a client and a server.
It provides multiple API endpoints to manipulate data.
REST APIs allow you to perform CRUD (create, read, update, and delete) operations between a client and a server.
It provides multiple API endpoints to manipulate data.
2οΈβ£ GraphQL
It is a query language that lets client request the precise data they require from the server.
Thus, eliminating the issues of under-fetching and over-fetching.
It is a query language that lets client request the precise data they require from the server.
Thus, eliminating the issues of under-fetching and over-fetching.
3οΈβ£ SOAP API
SOAP API is another kind of web service that allows communication between client and server using the Simple Object Access Protocol (SOAP).
The protocol is defined by the W3C. SOAP APIs rely heavily on XML, and they are considered safer than REST APIs.
SOAP API is another kind of web service that allows communication between client and server using the Simple Object Access Protocol (SOAP).
The protocol is defined by the W3C. SOAP APIs rely heavily on XML, and they are considered safer than REST APIs.
4οΈβ£ Kafka API
Apache Kafka is an event streaming platform that combines three capabilities so that you can implement different use cases.
Apache Kafka is an event streaming platform that combines three capabilities so that you can implement different use cases.
The three capabilities are:
π Publishing and subscribing to the streams of events,
π Storing streams of events durably and reliably
π Processing streams of events as they occur.
π Publishing and subscribing to the streams of events,
π Storing streams of events durably and reliably
π Processing streams of events as they occur.
5οΈβ£ Async API
These APIs work on the principle of Event-Driven Architecture (EDA).
In AsyncAPIs, multiple Subscribers can subscribe to a Publisher.
When an event occurs, the Publisher can notify all the Subscribers via the Message broker.
These APIs work on the principle of Event-Driven Architecture (EDA).
In AsyncAPIs, multiple Subscribers can subscribe to a Publisher.
When an event occurs, the Publisher can notify all the Subscribers via the Message broker.
Thatβs all for now!
Follow @Rapid_API for more exclusive content. π
Follow @Rapid_API for more exclusive content. π
Loading suggestions...