APIs in Cloud Computing SOAP REST JSON XML-RPC - 30nov2022 - SRC
APIs in Cloud Computing SOAP REST JSON XML-RPC - 30nov2022 - SRC
com Nov-2022 Pg 1 of 16
API Protocols
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 1 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 2 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 2 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 3 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 3 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 4 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 4 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 5 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 5 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 6 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 6 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 7 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 7 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 8 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 8 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 9 of 16
For an application that has an obligation to maintain the state from one
request to another, using SOAP 1.2 will make the job quick and easy as it
endows the developers with a recognized WS* structure for such tasks.
3. REST
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 9 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 10 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 10 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 11 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 11 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 12 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 12 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 13 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 13 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 14 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 14 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 15 of 16
4. JSON-RPC
However, if you like simplicity and have a straightforward use case that falls
with JSON-RPC’s scope, it can be a better solution than REST.
What is JSON-RPC?
Many decentralized platforms use JSON-RPC APIs, such as Bitcoin,
Ethereum, Ripple, Solana and others. To truly understand what JSON-RPC
is, we have to first explore what JSON is and then separately, look at what
RPC means.
What is JSON?
JSON is the lightweight data-interchange format and it means JavaScript
Object Notation. JSON is not a programming language in its own right but
is based on a subset of the JavaScript Programming Language Standard.
JSON uses conventions that resemble the C-family of languages (C, C++,
C#, Java, JavaScript, Perl, Python and others) to structure data so that it is
easy to transfer.
Its text-based format is easy for humans to read and write and easy for
machines to parse and generate, making it an ideal data-interchange
language.
What Does RPC Mean?
RPC stands for remote procedure call. RPC is a broad term used to
describe a variety of API approaches and has been in use since the 1970s,
extending beyond web applications.
In distributed computing, an RPC is a communication protocol in which one
computer program executes a procedure (subroutine) in a different address
space such as another computer on a shared network.
RPCs are the same whether they are local or remote. That is, the
programmer will essentially write the same code with no need to explicitly
distinguish whether the subroutine is local to the executing program, or
remote.
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 15 of 16
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 16 of 16
JSON-RPC Explained
JSON-RPC is a succession of JSON and keeps the simplicity of the original
protocol, by defining no more than a few data types and commands.
It enables the sending of notifications to the server; the notifications are
data that doesn’t require a response from the server. It also allows for
multiple calls which can be answered out of sequence. It also brings into
play an assorted data structure defining tasks for applications.
JSON-RPC has a light construction which allows for quick processing
which makes it ideal for transferring data to blockchain nodes.
It is also a transport-agnostic protocol, meaning that it can interact over
different transmission channels such as HTTP/S, WebSockets, XMPP,
telnet, SFTP, SCP, or SSH, and all within the same process.
APIs in Cloud Computing SOAP REST JSON XML-RPC compiled [email protected] Nov-2022 Pg 16 of 16