What is the technology stack that defines a Web API?

What are the abstract layers of technology that are used to build web APIs like GData?

0


source to share


2 answers


It's worth mentioning that GDATA itself is basically an extension of the Atom Publishing Protocol (RFC 5023) + (as allowed by the specification) and using its own authentication method.



So this is an abstraction over REST that adds semantics for publishing and editing a collection of objects.

+1


source


Web services typically use one of two technologies.

So called REST APIs use HTTP GET, PUT, DELETE, etc. to create a web service. For example, a search engine can provide the API you're looking for by making an HTTP GET request from www.searchengine.apple, which returns all results for apple. Technology blocks are the existing underlying web protocols that you are familiar with, HTTP, HTML and backend, PHP, ASP, etc.

Alternatively, you can use SOAP and WSDL to define an XML-based API based on specific requests that can take multiple parameters that will return a response. Many languages ​​can import a WSDL file for a service and provide a functional API on it. This makes it easier to access the service.



For more details on WSDL and SOAP I recommend www.w3cschools.com

There are pros and cons to both methods, which I'll leave you to explore.

Hello

0


source







All Articles