> For the complete documentation index, see [llms.txt](https://docs.arkannis.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.arkannis.net/programming/python/frameworks/fastapi/crud-operations.md).

# CRUD Operations

![](/files/rl5X13mUvnTsbKRML92w)

### Best practices

* Use plural: `posts` not `post`
* Updating `PUT` or `PATCH` is user preference
* `PUT` operations send all the data over again and patch it in the database
* `PATCH` operations send only the data that has to be adjusted and the backend should know how to do this
