What does API stand for? What about REST? SOAP? XML? JSON? WSDL?

What does API stand for? What about REST? SOAP? XML? JSON? WSDL?

When you utilize a browser, your browser makes request from the clients server and the server sends back files that your browser assembles and displays a web page with. But what if you just wanted your server or web page to speak to another server? This would require you to program code to an API.

WHAT DOES API STAND FOR?

API is an acronym for Application Programming Interface. An API is a set of routines, protocols, and tools for building web-enabled and mobile-based applications. The API specifies how you can authenticate (optional), request and receive data from the API server.

WHAT IS AN API?

When used in the context of web development, an API is typically a defined set of Hypertext Transfer Protocol (HTTP) request messages, along with a definition of the structure of response messages. Web APIs allow the combination of multiple services into new applications known as mashups.Wikipedia

A VIDEO DESCRIPTION OF WHAT APIS DO

There are two main protocols when developing an API. Formal programming languages like Microsoft .NET and Java developers often prefer SOAP but the most popular protocol is REST. Much like you type an address in a browser to get a response, your code passes a request to an API – literally a path on a server that authenticates and response appropriately with the data you requested. Responses for SOAP respond with XML, which looks a lot like HTML – the code used by your browser.

WHAT DOES XML STAND FOR?

XML is an acronym for eXtensible Markup Language.

REST APIs more commonly respond with JSON – an open standard format that uses human-readable text to transmit data objects consisting of attribute–value pairs.

WHAT DOES JSON STAND FOR>

JSON is an acronym for JavaScript Object Notation.

WHAT DOES REST STAND FOR?

REST is an acronym for the Representational State Transfer architectural style for distributed hypermedia systems. So named by Roy Thomas Fielding

Whew… deep breath! You can read the entire dissertation here, called the Architectural Styles and the Design of Network-based Software Architectures submitted in partial satisfaction of the requirements for the degree of DOCTOR OF PHILOSOPHY in Information and Computer Science by Roy Thomas Fielding.

Thanks Dr. Fielding! Read more about REST at Wikipedia.

WHAT DOES SOAP STAND FOR?

SOAP is an acronym for Simple Object Access protocol

I’m not a programmer, but in my opinion developers who love SOAP do so because they can easily develop code in a standard programming interface that reads the Web Service Definition Language (WSDL) file. They don’t need to parse the response, it’s already accomplished using the WSDL. SOAP requires a programmatic envelope, which defines the message structure and how to process it, a set of encoding rules for expressing instances of application-defined datatypes and a convention for representing procedure calls and responses.

Bình Luận

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Social Media Auto Publish Powered By : XYZScripts.com