RESTful web services and HTTP verbs

前端 未结 5 1892
后悔当初
后悔当初 2021-02-19 06:37

What is the minimum set of HTTP verbs that a server should allow for a web service to be classed as RESTful?

What if my hoster doesn\'t permit PUT

5条回答
  •  醉话见心
    2021-02-19 07:00

    If you just use GET and POST, it's still RESTful. Your web service may only do things which only required GET or POST, so that's fine.

提交回复
热议问题