2 ms·
HTTP verbs are best understood as describing the style of interaction with the resource: - GET/HEAD: read-only, cacheable - POST: side-effects, can be repeated
by samus 4y ago
HTTP verbs are best understood as describing the style of interaction with the resource:
- GET/HEAD: read-only, cacheable
- POST: side-effects, can be repeated, but not idempotent
- DELETE: destructive side-effects, idempotent, no real response
- PUT: creative side-effects, idempotent, can return the new resource