Junior
What HTTP methods does REST support?
sobes.tech AI
Answer from AI
REST supports the following main HTTP methods:
- GET — retrieve a resource without changing the server state.
- POST — create a new resource or perform an operation that changes state.
- PUT — update an existing resource or create it if it does not exist.
- DELETE — remove a resource.
- PATCH — partially update a resource. These methods allow working with resources through standard CRUD operations.