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:

UseQuery React for Efficient Data Fetching

 https://daily.dev/blog/usequery-react-for-efficient-data-fetching If you're diving into React and looking to manage data fetching effic...