← ← Back to articles

post

API Styles

Jonatan MachadoJonatan Machado
#api

✅ SOAP (Simple Object Access Protocol): A communication protocol based on XML used to exchange structured information between distributed systems. It defines a structure for messages and a set of rules for communication between applications over a network. SOAP is often used together with HTTP to create web services that enable interoperability between different platforms and programming languages.

✅ gRPC: An open-source framework developed by Google to ease communication between distributed services. It uses HTTP/2 for communication and the gRPC serialization format, making remote procedure calls more efficient and flexible.

✅ GraphQL: A query language and runtime for APIs that lets clients request only the data they need, avoiding over-fetching or under-fetching. With GraphQL, clients have full control over the data they receive, which makes it efficient for applications that need to access multiple data sources.

✅ WebSocket: A bidirectional communication protocol that enables real-time message exchange between a browser or application and a server. Unlike traditional HTTP, which is based on client requests, WebSockets allow continuous, interactive communication.

✅ Webhooks: A mechanism in which an application can provide real-time information to another application through HTTP calls. A webhook is usually triggered by specific events and notifies the destination when those events occur.

✅ REST API (Representational State Transfer Application Programming Interface): A set of principles for designing web services that use HTTP methods (such as GET, POST, PUT and DELETE) to perform operations on resources. REST APIs are widely used to build distributed systems and access resources in a standardized way.