Why shouldn't data be modified on an HTTP GET request?

后端 未结 7 855
暗喜
暗喜 2020-11-27 05:36

I know that using non-GET methods (POST, PUT, DELETE) to modify server data is The Right Way to do things. I can find multiple resources claiming that GET requests should no

7条回答
  •  一向
    一向 (楼主)
    2020-11-27 05:58

    Good reasons to do it the right way...

    They are industry standard, well documented, and easy to secure. While you fully support making life as easy as possible for the client you don't want to implement something that's easier in the short term, in preference to something that's not quite so easy for them but offers long term benefits.

    One of my favourite quotes

    Quick and Dirty... long after the Quick has departed the Dirty remains.

    For you this one is a "A stitch in time saves nine" ;)

提交回复
热议问题