GET vs. POST Best Practices

后端 未结 10 2106
南方客
南方客 2020-11-27 19:44

For my web application (PHP/MYSQL), I show a list of items and a link on each row to delete the item. Right now, the link is



        
10条回答
  •  旧巷少年郎
    2020-11-27 20:23

    you can also use get but you would need to check session values to ensure that it's the owner of the post who's attempting to delete. get is not "universally unsafe". it totally depends on how you use it.

提交回复
热议问题