@KevinDockx https://www.kevindockx.comARCHITECT KEVIN DOCKX Manipulating Resources... This bullet list with animations Resource Manipulation Validating Input Coming Up... This bullet li
Trang 1@KevinDockx https://www.kevindockx.com
ARCHITECT
KEVIN DOCKX
Manipulating Resources
Trang 2This bullet list
with
animations
Resource Manipulation
Validating Input
Coming Up
Trang 3This bullet list
with
animations
Creating a Resource
Trang 4This bullet list
with
animations
Validating Input
Trang 5This bullet list
with
animations
Updating a Resource
Trang 6This slide is
with
animations
Json Patch (RFC 6902)
https://tools.ietf.org/html/rfc6902
Describes a document structure for expressing a sequence of operations to apply to a JSON document
Partially Updating a Resource
Trang 7{
"op": "replace",
"path": "/name",
"value": “new name"
}
,
{
"op": "replace",
"path": "/description",
"value": “new description"
}
]
“new name”
value “new description”
Trang 8This bullet list
with
animations
Partially Updating a Resource
Trang 9This bullet list
with
animations
Deleting a Resource
Trang 10This bullet list
with
animations
Use POST for creating a resource
Validation
Summary
Trang 11This bullet list
with
animations
Use PUT for full updates, PATCH for partial updates
DELETE is for deleting resources
Summary