Junior
What are unsafe methods?
sobes.tech AI
Answer from AI
Unsafe methods (or methods that modify server state) are HTTP methods that can change data on the server. When such a request is repeated with the same parameters, the result may be different or have side effects. These include:
- POST: Used to send data to create or update a resource.
- PUT: Used for completely updating a resource at the specified URL.
- DELETE: Used to delete a resource at the specified URL.
- PATCH: Used for partial updates of a resource.