DEV Community

Alex1-ai
Alex1-ai

Posted on

11 API Protocols YOU MUST KNOW

Image description

  1. REST (Representational State Transfer)
  2. An architectural style for designing networked applications.
  3. It emphasizes stateless communication, the use of standard HTTP methods (GET, POST, PUT, DELETE), and resources identified by URLs.

  4. GraphQL

  5. A query language for APIs that allows clients to request exactly the data they need, nothing more and nothing less.

  6. This efficiency is a major advantage over REST, where endpoints often return fixed data structures.

  7. SOAP (Simple Object Access Protocol)

  8. A protocol for exchanging structured information in the form of XML messages over a network.

  9. gRPC (Google Remote Procedure Call)

  10. A high-performance, open-source framework for remote procedure calls (RPCs).

  11. It uses Protocol Buffers (a compact binary format) for data serialization.

  12. Webhooks

  13. A mechanism for real-time communication between applications.

  14. A webhook is essentially an HTTP callback triggered by a specific event in one system, which sends a notification to another system.

  15. WebSockets

  16. A protocol providing full-duplex communication channels over a single TCP connection.

  17. WebSockets enable real-time data exchange between a client and a server.

  18. MQTT (Message Queuing Telemetry Transport)

  19. A lightweight publish-subscribe messaging protocol designed for low-bandwidth, high-latency, or unreliable networks.

  20. It is commonly used in IoT (Internet of Things) applications.

  21. AMQP (Advanced Message Queuing Protocol)

  22. An open standard protocol for message-oriented middleware.

  23. AMQP provides features like reliable message delivery, routing, and queuing, making it suitable for enterprise integration scenarios.

  24. EDA (Event-Driven Architecture)

  25. A software architecture pattern where applications react to events (e.g., user actions, sensor readings).

  26. EDA promotes loose coupling and scalability.

  27. EDI (Electronic Data Interchange)

  28. A set of standards for exchanging business documents (e.g., purchase orders, invoices) electronically between organizations.

  29. EDI is widely used in supply chain management and logistics.

  30. SSE (Server-Sent Events)

  31. A server-push technology that allows a server to send updates to a client over an HTTP connection in a unidirectional manner.

Image Creds Ivan Novikov
hashtag#developers hashtag#software hashtag#api hashtag#restapi hashtag#programming hashtag#coding hashtag#followers hashtag#fyp hashtag#learners

Top comments (0)