0% found this document useful (0 votes)
75 views

API Protocols

This document discusses several API protocols and technologies: - Webhooks allow a system to notify another system in real-time via HTTP callbacks when a specific event occurs. - GraphQL is a query language that allows clients to request only the data they need from APIs. - Event-driven architecture (EDA) is a software pattern where producers generate events and consumers process those events. - Other protocols and technologies discussed include REST, SOAP, EDI, WebSocket, SSE, AMQP, MQTT, and gRPC.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views

API Protocols

This document discusses several API protocols and technologies: - Webhooks allow a system to notify another system in real-time via HTTP callbacks when a specific event occurs. - GraphQL is a query language that allows clients to request only the data they need from APIs. - Event-driven architecture (EDA) is a software pattern where producers generate events and consumers process those events. - Other protocols and technologies discussed include REST, SOAP, EDI, WebSocket, SSE, AMQP, MQTT, and gRPC.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

API Protocols

Webhooks
REST A webhook is a mechanism for one
GraphQL
system to notify another system in
REST is an architectural style for real-time via HTTP callbacks when a GraphQL is a query language for
designing networked applications, specific event occurs APIs that allows clients to request
using stateless communication and {api}
only the data they need
standard HTTP methods
Rest API
Cloud
Data
Clients
Register
(mobile, desktop, {api}
HTTP URL Webhooks
Client Server browser etc)
to subscribe to
Rest API
Notifications GraphQL
JSON
Your Webhook Server
App API
Backend
Notify App as Configured
EDA Service

Event-Driven Architecture (EDA)


is a trending software SOAP
architecture pattern nowadays SOAP is a protocol for exchanging
structured information using XML

ks
oo
Consumer A

Producer
h
eb
Message Body
Consumer B RE
ST
W

XML Format

WSDL

SOAP

EDI Envelope

L
SOAP Header

API ra p h Q
EDI (Electronic Data Intercha- G HTTP Protocol
nge) is a set of standards for TECHNO-
exchanging structured business LOGIES
data between organizations
electronically without human
SO WebSocket
intervention
DA AP
E
D I WebSockets provide a full-duplex
We

E communication channel over a


E
QP
SS

single, long-lived connection,


TT

bSo
gRPC
AM

allowing for real-time data


MQ

exchange
cke
t

Request
SSE Client Handshake Server
WebSocket
SSE (Server-Sent Events) is a
simple and efficient standard for
server-push notifications over an AMQP
HTTP connection
AMQP is an open-standard MQTT gRPC
protocol for message- gRPC is a high-performance,
MQTT is a lightweight publish-
oriented middleware, open-source framework for
subscribe messaging protocol
facilitating message routing, RPCs using Protocol Buffers
designed for low-bandwidth, high-
queuing, and delivery
latency, or unreliable networks
gRPC Stub

Ruby
loT data M
QT gRPC Server Client
T

MQTT Computer C++ Service


MQTT Broker MQTT
loT data
gRPC Stub
TT Mobile device
Q
M Android-
JavaClient
loT data

You might also like