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

API

An API, or Application Programming Interface, is a set of protocols that allows different software programs to communicate with each other, making programming easier. REST APIs utilize HTTP methods such as GET, POST, PUT, and DELETE to interact with server data. API integration connects multiple applications via APIs to facilitate data exchange and communication.

Uploaded by

ramkumarlaksh74
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

API

An API, or Application Programming Interface, is a set of protocols that allows different software programs to communicate with each other, making programming easier. REST APIs utilize HTTP methods such as GET, POST, PUT, and DELETE to interact with server data. API integration connects multiple applications via APIs to facilitate data exchange and communication.

Uploaded by

ramkumarlaksh74
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

What is an API?

---------------

API full form is an Application Programming Interface that is a collection of


communication protocols and subroutines used by various programs to communicate
between them. A programmer can make use of various API tools to make their program
easier and simpler. Also, an API facilitates programmers with an efficient way to
develop their software programs.

How does API Works?

The client initiates the requests via the APIs URI (Uniform Resource Identifier)
The API makes a call to the server after receiving the request
Then the server sends the response back to the API with the information
Finally, the API transfers the data to the client

REST (Representational State Transfer): It makes use of HTTP to GET, POST, PUT, or
DELETE data. It is basically used to take advantage of the existing data.

What are REST APIs?


REST stands for Representational State Transfer, and follows the constraints of
REST architecture allowing interaction with RESTful web services. It defines a set
of functions (GET, PUT, POST, DELETE) that clients use to access server data. The
functions used are:

HTTP methods
Following four HTTP methods are commonly used in REST based architecture.

GET − Provides a read only access to a resource.

POST − Used to create a new resource.

DELETE − Used to remove a resource.

PUT − Used to update a existing resource or create a new resource.

What is API (Application Programming Interface) Integration?


API (Application Programming Interface) Integration is the connection between two
or more applications, via APIs, letting you exchange data. It is a medium through
which you can share data and communicate with each other by involving APIs to allow
web tools to communicate.

You might also like