useQuery

  • GET

useMutation(변이)

  • POST, PUT, PATCH, DELETE

RESTful API

CreateReadUpdateDelete

  • GET: 조회(Read)
  • POST: 생성(Create)
  • PUT: 일괄 수정(Update)
  • PATCH: 부분 수정(Update)
  • DELETE: 삭제(Delete)