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

Types of Apis (React JS)

The document discusses different types of APIs including RESTful APIs, SOAP APIs, GraphQL APIs, WebSocket APIs, JSON-RPC and XML-RPC APIs, and OAuth APIs. RESTful APIs use standard HTTP methods to perform operations on resources. SOAP APIs define rules for communication between client and server using XML. GraphQL APIs allow clients to request specific data and fields. WebSocket APIs provide real-time bidirectional communication. JSON-RPC and XML-RPC enable remote procedure calls using JSON or XML. OAuth APIs allow users to authorize third-party applications to access their data.

Uploaded by

YT•Bayu TNG
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

Types of Apis (React JS)

The document discusses different types of APIs including RESTful APIs, SOAP APIs, GraphQL APIs, WebSocket APIs, JSON-RPC and XML-RPC APIs, and OAuth APIs. RESTful APIs use standard HTTP methods to perform operations on resources. SOAP APIs define rules for communication between client and server using XML. GraphQL APIs allow clients to request specific data and fields. WebSocket APIs provide real-time bidirectional communication. JSON-RPC and XML-RPC enable remote procedure calls using JSON or XML. OAuth APIs allow users to authorize third-party applications to access their data.

Uploaded by

YT•Bayu TNG
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Uxman124

TYPES
OF
API`S
Uxman124

RESTFUL API
Representational State Transfer
(REST) is an architectural style for
designing networked
applications. RESTful APIs use
standard HTTP methods (GET,
POST, PUT, DELETE) to perform
operations on resources. For
example, the Twitter API allows
you to fetch tweets, post new
tweets, and delete tweets using
RESTful endpoints.
Uxman124

RESTFUL API
Uxman124

SOAP API
Simple Object Access Protocol
(SOAP) is a protocol for
exchanging structured
information in web services using
XML. SOAP APIs define a set of
rules for communication between
client and server. An example is
the Amazon Web Services (AWS)
API, which provides SOAP-based
APIs for various services like
Amazon S3 and Amazon EC2.
Uxman124

SOAP API
Uxman124

GRAPHQL API:
GraphQL is a query language for
APIs that allows clients to
request specific data
requirements and get exactly
what they need. It provides a
single endpoint where clients can
specify the fields and
relationships they want in the
response. GitHub's GraphQL API
is an example, where you can
query for specific information
about repositories, users, and
more.
GRAPHQL API:
WEBSOCKET
API:
WebSocket is a communication
protocol that provides full-
duplex communication channels
over a single TCP connection. It
allows real-time, bidirectional
communication between clients
and servers. A popular example is
the WebSocket API used in chat
applications, multiplayer games,
and real-time data streaming.
Uxman124

WEBSOCKET
API:
JSON-RPC AND
XML-RPC:
JSON-RPC and XML-RPC are
remote procedure call (RPC)
protocols that enable
communication between a client
and a server using JSON or XML.
These APIs allow clients to invoke
methods on the server and
receive the results. Bitcoin's
JSON-RPC API is an example,
where you can interact with a
Bitcoin node programmatically.
JSON-RPC AND
XML-RPC:
Uxman124

OAUTH API:
OAuth (Open Authorization) is an
authentication and authorization
protocol used to grant third-
party applications limited access
to protected resources on behalf
of a user. OAuth APIs allow users
to securely authorize
applications to access their data.
The Google OAuth API is widely
used for authentication and
authorization with various Google
services.
Uxman124

OAUTH API:
Uxman124

THANK
YOU
FOLLOW FOR MORE

You might also like