Interviews - C# Corner

Suresh Kumar
Explain what is REST and RESTFUL?
By Suresh Kumar in ASP.NET onNov 01 2017
  • Gajendra Jangid
    Jan, 2018 31

    RESTful is typically used to refer to web services implementing such an architecture.REST is a style of software architecture.

    • 2
  • Bharathi Raja
    Feb, 2018 1

    REST" is an architectural paradigm. "RESTful" describes using that paradigm.

    • 1
  • Tushar Dikshit
    Jan, 2018 3

    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/

    • 1
  • Nithya Mathan
    Nov, 2017 15

    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.

    • 1
  • Suresh Kumar
    Nov, 2017 1

    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.

    • 1
  • Magesh R
    Aug, 2019 9

    REST:

    1.Rest(Representational State Transfer)is a style of software architecture.
    2.The Rest Service is simple to use it HTTP protocol for all opeartions.
    3.Its lightweight and faster(it use the.JSON and .XML formats).

    RESTFULL:

    1.RestFULL(Representational State Transfer)is a style of software architecture.
    2.It uses the Complex Mechanisim like SOAP for Communication.
    3.WCF service will allows to make calls and exchange the data using SOAP protocol over different protocols (HTTP, TCP, MSMQ etc..).

    • 0
  • Kumar Shivam
    Jan, 2018 27

    https://medium.com/@kumarshivam_66534/rest-representational-state-transfer-997c132c9fd6

    • 0

Most Popular Companies

Most Popular Job Functions

MOST LIKED QUESTIONS