WITH SOLUTIONS 2024
What does API stand for? - ANSWER Application Programming Interface
What is the difference between an API and a REST API? - ANSWER While API is basically a set of functions
and procedures that allow one application to access the feature of other application, REST is an
architectural style for networked applications on the web. It is limited to client-server based applications.
REST is a set of rules or guidelines to build a web API.
What does Rest API stand for? - ANSWER Representational State Transfer
What is a RESTful API? - ANSWER The RESTful web services follow REST architectural concept (a stateless
client-server architecture)
Architectural style for developing applications that can be accessed over the network.
How does a Rest API work? - ANSWER Make a call from a client to a server and you get data back from a
http protocol
What does JSON stand for? - ANSWER JavaScript Object Notation
What do you understand by RESTful Web Services? - ANSWER services that follow REST architecture.
REST stands for Representational State Transfer and uses HTTP protocol (web protocol) for
implementation.
-lightweight
-provide maintainability
-scalability
-support communication among multiple applications that are developed using different programming
languages
, provide means of accessing resources present at server required for the client via the web browser by
means of request headers, request body, response body, status codes, etc.
What is a REST Resource? - ANSWER Every content in the REST architecture is considered a resource.
The resource is analogous to the object in the object-oriented programming world.
Represented as:
-text files
-HTML pages
-images
-any other dynamic data.
The REST Server provides access to these resources whereas the REST client consumes these resources.
Every resource is identified globally by means of a URI.
What does URI stand for? - ANSWER Uniform Resource Identifier
What is a URI? - ANSWER Used for identifying each resource of the REST architecture. URI is of the
format:
<protocol>://<service-name>/<ResourceType>/<ResourceID>
What are the 2 types of URI's? - ANSWER URL and URN
What does URN stand for? - ANSWER Uniform Resource Name
What is a URN? - ANSWER Identifies the resource by means of a name that is both unique and
persistent.