0% found this document useful (0 votes)
10 views2 pages

API (Application Programming Interface) :: The Person Who Takes The Customer's Order (The Request) & Tells Kitchen

An Application Programming Interface (API) facilitates communication between applications and network devices by allowing them to request and exchange data. RESTful APIs, which use HTTP methods to transfer data in formats like JSON and XML, are designed for ease of use without the need for additional software. Key HTTP methods include GET for retrieving data, POST for submitting data, PUT for updating data, and DELETE for removing data.

Uploaded by

engr.m.adil1049
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

API (Application Programming Interface) :: The Person Who Takes The Customer's Order (The Request) & Tells Kitchen

An Application Programming Interface (API) facilitates communication between applications and network devices by allowing them to request and exchange data. RESTful APIs, which use HTTP methods to transfer data in formats like JSON and XML, are designed for ease of use without the need for additional software. Key HTTP methods include GET for retrieving data, POST for submitting data, PUT for updating data, and DELETE for removing data.

Uploaded by

engr.m.adil1049
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

API (Application Programming Interface):

o To interact with applications or network devices, use an Application Programming Interface.


o API is software interface which allows other applications to communicate with application.
o Application Programming Interface are found almost everywhere such as Amazon Web.
o Home automation devices such as thermostats, refrigerators, and wireless lighting systems.
o Application Programming Interface are used for build programmable network automation.
o API is software that allows other applications to access its data or services smoothly.
o API is set of rules and regulation describing how one application can interact with another.
o Application Programming Interface API is the instructions to allow the interaction to occur.
o User sends API request to server asking for specific information & receives an API response.
o User receives an API response in return from the server along with requested information.
o The XML and the JSON are two of the most common data formats that are used with APIs.
o An Application Programming Interface (API) is similar to a waiter in a restaurant or hotels.
o A customer in a restaurant or in hotel would like to have some food delivered to the table.
o The food is in the restaurant or in hotel kitchen where it is cooked and prepared to serve.
o The waiter is the messenger, similar to an Application Programming Interface (API).
o Waiter (API) is the person who takes the customer’s order (the request) & tells kitchen.
o When food is read, the waiter will then deliver the food (the response) back to customer.
o In basic terms, APIs is just allow the applications to communicate with one another apps.
o API is a product middle person that enables two applications to converse with one another.
o It is a request between two connection i.e The Sender Request and The Receiver Response.
o An API brokers access to a different application to provide functionality or access to data.
o To interact with application or network devices, we use Application Programming Interface.
o A method and way of communicating with and configuring a network is the use of APIs.

1|Page
REST and RESTful API:
o REST an acronym for REpresentational State Transfer:
o API that uses REST is often referred to a RESTful API it use HTTP methods to gather data.
o Representational means transfer representation of resource between a server and a client.
o REST means a server that exchanges JSON or XML documents with a client over HTTP.
o REST or RESTful APIs were designed to take advantage of existing protocols typically HTTP.
o Developers have no need to install additional software or libraries when creating REST API.
o A REST API Is no more than an API that implements the REST architecture data format JSON.
o REST APIs typically use HTTP methods to retrieve or send information between applications.
o REST has no built-in security features, but if needed use HTTPS for encryption & usernames.
o Postman is app that makes it possible to interact with APIs using a console-based approach.
o Postman allows for use of various data types and formats to interact with REST-based APIs.
o The XML and the JSON are two of the most common data formats that are used with APIs.
o The Extensible Markup Language (XML) is commonly used when constructing web services.
GET: A read-only method to retrieve a specified resource.
POST: Submits data to specified resource to process, method can also create new resources.
PUT: Updates the specified resource by replacing the existing data.
DELETE: Deletes the specified resource.

2|Page

You might also like