HTTP Verbs and Their Proposed Actions

GET access a resource in a read-only mode

POST Normally used to send a new resource into the server (create action)


PUT Normally used to update a given resource (update action)


DELETE Used to delete a resource


HEAD Not part of the CrUD actions, but the verb is used to ask if a given resource exists without returning any of its representations


OPTIONS Not part of the CrUD actions, but used to retrieve a list of available verbs on a given resource (i.e., What can the client do with a specifc resource?)

Không có nhận xét nào:

xóa toàn bộ commit

  Cách chuẩn & đơn giản nhất (Khuyến nghị) Mục tiêu Xóa toàn bộ commit history Giữ nguyên code hiện tại main chỉ còn 1 commit...