> For the complete documentation index, see [llms.txt](https://gchandra.gitbook.io/big-data-and-tools-with-nosql/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gchandra.gitbook.io/big-data-and-tools-with-nosql/data-format/python/flask-demo-02.md).

# Flask Demo - 02

CRUD Operations

CRUD stands for Create, Read, Update, and Delete. These are the four basic operations of persistent storage in software development.

```bash
python3 api_demo/flask_02_crud_app.py

curl -X POST -H "Content-Type: application/json" -d '{"name":"item 99"}' http://127.0.0.1:5002/items 

# Update Existing Item

curl -X PUT -H "Content-Type: application/json" -d '{"id":3,"name":"item 3"}' http://127.0.0.1:5002/items/3

# Delete Existing Item

curl -X DELETE http://127.0.0.1:5002/items/3
```
