REST Web services and the HTTP protocol -
as per understanding , googling found following: restful web services not protocol dependent , can built on other protocol apart http protocol.
question: if above said statement true, how rest handle operations different methods (get, post, put, delete etc). aren't these methods http specification dependent , may not available in other protocols?
rest architectural style, meaning set of constraints have fulfill "compliant". see exact description in fielding's dissertation: https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm
now, http build upon these principles, arguably why became successful, system distributed, cacheable, etc. why can use build restful services/resources on top of it. rest not define exact set of operations, http (get, post, etc.).
so in theory, design restful system without http, without operations get/post/etc., practically nobody , should stick http.
Comments
Post a Comment