Restful API Web Services Interview Questions and Answers for freshers and experienced | Code Decode

preview_player
Показать описание
In this video of code decode we have covered Rest API Web Services Interview Questions and Answers for freshers and experienced

Udemy Course of Code Decode on Microservice k8s AWS CICD link:

Course Description Video :

REST represents Representational State Transfer
RESTFUL web services are web services that follows REST architectural concept (stateless client-server architecture).
Its is an architectural style for developing applications that can be accessed over the network

Every content in the REST architecture is considered a resource.

The resource == object in the object-oriented programming world.
Can be represented as text files, HTML pages, images, or any other dynamic data.

The REST Server provides access to these resources whereas the REST client consumes (accesses and modifies) these resources. Every resource is identified globally by means of a URI

Uniform Resource Identifier is the full form of URI which is used for identifying each resource of the REST architecture. URI is of the format:

They are of2 types:
URN
URL

HTTP Methods are also known as HTTP Verbs. They form a major portion of uniform interface restriction followed by the REST that specifies what action has to be followed to get the requested resource. Below are some examples of HTTP Methods:

GET: This is used for fetching details from the server and is basically a read-only operation.

POST: This method is used for the creation of new resources on the server.

PUT: This method is used to update the old/existing resource on the server or to replace the resource.

DELETE: This method is used to delete the resource on the server.

PATCH: This is used for modifying the resource on the server.

OPTIONS: This fetches the list of supported options of resources present on the server.

The POST, GET, PUT, DELETE corresponds to the create, read, update, delete operations which are most commonly called CRUD Operations.

GET, HEAD, OPTIONS are safe and idempotent methods whereas PUT and DELETE methods are only idempotent. POST and PATCH methods are neither safe nor idempotent.

The service is based on the Client-Server model.

The service uses HTTP Protocol for fetching data/resources, query execution, or any other functions.

The medium of communication between the client and server is called “Messaging”.

Resources are accessible to the service by means of URIs.

It follows the statelessness concept where the client request and response are not dependent on others and thereby provides total assurance of getting the required data.

These services also use the concept of caching to minimize the server calls for the same type of repeated requests.

Supports multiple technologies for data transfer such as text, xml, json, image etc.
No contract defined between server and client, so loosely coupled implementation.
REST is a lightweight protocol
REST methods can be tested easily over browser.
The HTTP protocol and REST web service, both shares the feature of statelessness.
Any previous communication with the client and server is not maintained and thus the whole process is very much simplified.
Every method required for communication is identified as an independent method i.e. there are no dependencies to other methods.

As per REST architecture, a RESTful web service should not keep a client state on server. This restriction is called statelessness. It is responsibility of the client to pass its context to server and then server can store this context to process client's further request. For example, session maintained by server is identified by session identifier passed by the client.

Promotional Links

Subscriber and Follow Code Decode

#codedecode #restful #restinterviewquestions
Рекомендации по теме
Комментарии
Автор

Great explanation, After long time, i got the meaning of Stateless in real example. Thank you ❤ 😊 so much. I didn't answer a question called "stateless" in interview. I got Only theory wise.Know i the meaning of Stateless with example

BaluKompalli
Автор

Wow ..I haven't ever heard such a great explanation for the definition of. "Representational State Transfer". Thankyou!!!!

alekyajaini
Автор

Most of the times your examples help us clarify the points than simply going through the theory. Thanks a bunch for digging so deep and all the hard work put together !!

paridhisingh_
Автор

Pls create 2nd part of this mam with advanced concepts..BTW all your explanations are crystal clear and soo precise..Thanks for all the hardwork you do :)

kanchanam
Автор

Really thanks for your demo and explanatory video, it helped a lot for interview prep in brushing up and regaining knowledge on the concepts. I bagged around 9..10... offers. Credits to you guys !!! Keep up the good work

kingsleydavid
Автор

Imp Basic topics of REST nicely covered, yes please make continuation of

dpkpk
Автор

Happy Teacher's day to one of the best teacher of my life❤️❤️

vaishnavipulluri
Автор

Yes pleaasse! Cover the advance concepts too. Great video. Thank you :)

keerthanakv
Автор

Great Explanation.. Your explanation is in such a way that even a college graduate can able to understand. Eagerly waiting for the 2nd part …

ravindracharyvadyarapu
Автор

Such a great video and it is simple, short and to the point. Thank you for your hard work & efforts for creating this useful content to help others☺

abhisheksinghal
Автор

abhi two seconds pehele i hit with the id 1 - explains stateless - thanks ma'am, well explained, was googling here and there..

vidyasagarareddyagraharam
Автор

Thank you Mam for such short and upto point helps a lot to have a quick understanding of

dnyaneshwarmorey
Автор

great content..plz upload other videos as well.

Thanks a lot.

funforkids
Автор

@Code Decode  nice explanation as always 👍 one request - please continue and do at least a couple of videos on Microservices topic as it's been close to 2 months since we have had anything in Microservices section and then come back to REST topics.

karthikeyanrm
Автор

thank you sooo much for uploading this it really helped me out...Lots of love all the way from KHI PAKISTAN ❤️

mohammadhamzasiddiqui
Автор

Thanks a lot mam for such a helpful video, please upload the second part also. Extremely waiting for that. Thanks🙏again☺

bhaneshwar
Автор

Finally.. I was waiting for this topic😇😇

kirtikomal
Автор

Awesome video, clears the basic Rest concepts.

gangadharreddy
Автор

Thanks for the amazing explanation. It was really very helpful. Please create the second part of this video and explain the remaining points.

swatikewale
Автор

I was waiting for this topic to cover ....
Tqsm ...🤗
Please cover the next level question of it 🙏🏼

Pranithbansal