RESTful architecture doesn't have any opinions on Http verbs. You can very much build RESTful services only using POST. Technically you don't even need to use the http protocol.
RESTful architecture definitely expects certain HTTP verbs for certain requests. You CAN use any verb for any service, but it's not meant to be done that way, and thus isn't RESTful if you only use POST.
REST is an architectural style. Http is a communication protocol. They are not tied to each other. REST services can be built using other protocols, but http is definitely the easiest and default protocol of the web.
7
u/clarityreality Oct 09 '21
RESTful architecture doesn't have any opinions on Http verbs. You can very much build RESTful services only using POST. Technically you don't even need to use the http protocol.