Need help in understanding 'Why use REST'

github logo ・1 min read

I have been using RESTful services for quite a while (#what and #how of REST). I am looking for examples where the example might look like REST but it doesn't follow the core REST principles. Help me out please!.

[UPDATE] - The following video https://youtu.be/pspy1H6A3FM?t=1018 has been an eye opener, however its worth while to have a discussion.

twitter logo DISCUSS (2)
markdown guide
 

That is a good video.

In trying to add a useful comment, I'm really stricken by just how hard REST is to understand, explain, and everything in between.

The tough part, is that I can say the same about anything I know about that came before or after.

I sort of feel like making something new.

 

The intriguing part of the video was, REST was never about about cute urls like '/user/{userid}/order/{orderid}' , neither it is about GET,PUT,POST.

Rather its about resource identification and resource discoverability.

The idea of the URIs and the verbs is one of the recommendations using which the above statement can be achieved.

Prior to that video, I always though, REST is all about representation of domain data and the restricted list of operations (GET, PUT, POST , DELETE)

Classic DEV Post from Mar 2

What is the importance of committing mistakes?

It is a well-known fact that all human beings are different and unique in their ways. However, no matter how unique and different we are from one another, one thing which remains the same between all of us is our innate nature to commit mistakes.

Swarup Kumar Mahapatra profile image