Assignment 2
Assignment 2
2. What is an API?
Ans- An API stands for application programming interface. It is an information
gateway which basically allows the back ends of software and the services that
communicate with one another. The modern digital systems got interconnected
and convenient because of APIs.
API helps to receive requests and responding with the data needed to provide
some functionality or service.
3. What is RESTapi?
Ans- REST signifies how the API looks like. It stands for Representational State
Transfer. It is a set of protocols that developers follow when they create their API.
One of these protocols states that we should be able to get a piece of data or a
resource when you link to a specific URL. Each URL is called a request while the
data sent back to you is called a response.