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

后端 未结 7 845
暗喜
暗喜 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:41

    Security for one. What happens if a web crawler comes across a delete link, or a user is tricked into clicking a hyperlink? A user should know what they're doing before they actually do it.

提交回复
热议问题