Impact of Gen-AI on IT Jobs - Growth Mindset Show
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
iOS
Java
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
3
Reply
Explain what is REST and RESTFUL?
Suresh Kumar
8y
1.2k
1
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
REST is acronym for REpresentational State Transfer. It is architectural style for distributed hypermedia systems and was first presented by Roy Fielding in 2000.REST says web applicaitons should use HTTP as it was envisoned or the way it was started. Should use htpp verbs for getting, saving and modifying data. GET - Should be use to lookup or select data. POST - Should be used to create, save new recrods. PUT - Should be used to modify/update record. DELETE - Should be used to delete a record.RESTful APIs means applying REST and adhering to constaints defined for it.REST has following constaraints that makes a RESTful -1. Uniform interface - A resource in system should have only one logical URI, and then should provide way to fetch related or additional data. It’s always better to synonymise a resource with a web page. All resources should be accessible through a common approach such as HTTP GET.2. Client–server - Client application and server application must be able to evolve separately without any dependency on each other. Client should know only resource URIs and that’s all.3. Stateless - Server will not store anything about latest HTTP request client made. It will treat each and every request as new. No session, no history. Client is responsible for managing the state of application.4. Cacheable - Caching can be implemented server side or client side. Can improve performance.5. Layered system - Supports layered architecture. Develop apis ondifferent layers, client cannot confirm whether it is connected directly to the end server, or to an intermediary along the way.6. Code on demand (optional) - Majorly REST works with static data in return i.e.e XML or JSON. But it can also retunr executable code. This is optional.Refer - https://restfulapi.net/rest-architectural-constraints/
Tushar Dikshit
7y
0
REST stands for REpresentational State Transfer , It is a style of a software architecture that basically exploits the existing technology and protocols of the web.RESTful is typically used to refer to web services implementing such an architecture.
Nithya Mathan
8y
0
REST represents REpresentational State Transfer; it is a relatively new aspect of writing web API.RESTFUL is referred for web services written by applying REST architectural concept are called RESTful services, it focuses on system resources and how state of resource should be transported over HTTP protocol to a different clients written in different language. In RESTFUL web service http methods like GET, POST, PUT and DELETE can be used to perform CRUD operations.
Suresh Kumar
8y
0
Mention what are resources in a REST architecture?
What’s a bubbled event?
Message