Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
エンティティを削除しようとしていますが、GET または POST で削除する必要がありますか?
どちらも正しいと思いますが、どちらが良いですか?
GET と POST は最も一般的な HTTP メソッドですが、適切な DELETE メソッドなど、他のメソッドもあります。
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
データを変更しているため、POST を使用する必要があります。DELETE は存在しますが、あまり一般的ではありません。