📜  api中的方法类型 - PHP代码示例

📅  最后修改于: 2022-03-11 14:54:42.158000             🧑  作者: Mango

代码示例1
GET    is used for reading and retrieving data.
POST    is used for inserting data.
PUT    is used for updating data.
DELETE    is used for deleting data.

The primary or most-commonly-used HTTP verbs (or methods, as they are properly called) are POST, GET, PUT, PATCH, and DELETE. These correspond to create, read, update, and delete (or CRUD) operations, respectively.