/learning-python-flask-api

On this example I am creating a simple api using Flask, to create / update and delete tasks, the data will be persisted on JSON file.

Primary LanguagePython

Learning Python API using Flask

On this example I am creating a simple api using Flask, to create / update and delete tasks, the data will be persisted on JSON file.

Get task by ID:

Add new task

    curl --location --request PUT 'http://127.0.0.1:5000/tasks?id=1' \
        --header 'Content-Type: application/json' \
        --data '{
                "title": "bla",
                "description": "bla-blup"
            }'