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 May 10

Why I ignore the hype (and you should too)

It’s been 20 years since I made my first website. I've been burned by the hype ti...

Swarup Kumar Mahapatra profile image
Join dev.to

If crime-fighting half-man/half-sharks can do it, so can you.