0

Possible Duplicate:
what is RESTful/REST

Is ReST a protocol? and is it only for web apps?

Community
  • 1
  • 1
Yousha Aleayoub
  • 4,532
  • 4
  • 53
  • 64
  • 1
    You should give this a read, by the way: [How I explained REST to my wife](http://tomayko.com/writings/rest-to-my-wife) – Polynomial Jul 26 '12 at 14:25

2 Answers2

3

REST is less a protocol and more an... idea, if you like. It's a system of building a web service which follows a certain set of principles, making everything simple and easy to use.

Taking from the stack overflow tag for REST:

Representational state transfer (REST) is a style of software architecture for distributed hypermedia systems such as the World Wide Web. It's more popular nowadays because of RESTful web services which offers an alternate easier and simpler way for interoperability among heterogeneous systems.

It revolves around giving everything you'd want to request an ID, and accessing it - rather than calling a service which performs a specific task, you access a specific ID or set of IDs. It means all actions can be standardised using basic HTTP methods such as GET, POST, PUT, etc.

You can access a RESTful web service from anything, not just web apps.

But really, I could be here for quite a while explaining - as it's been said, the best thing you can do is just give it a Google and spend an hour or so reading. Perhaps this might be handy.

nitsua
  • 763
  • 8
  • 20
1

No, its more like a design pattern applicable to client and server software. The clients and servers could use any protocol as long some form of hypertext messages are exchanged - no web or Internet required.

For more information, I'ld consult the Wikipedia definition: http://en.wikipedia.org/wiki/Representational_state_transfer

Christian Schlichtherle
  • 3,125
  • 1
  • 23
  • 47