REST API QUESTIONS AND ANSWERS
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:
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.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Performance. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $16.49. You're not tied to anything after your purchase.