in

Todo backend with python


    $ sh build.sh
    $ sh start.sh
    $ sh build_dev.sh
    $ sh bind_dev.sh
    $ sh start_dev.sh

Create Todo

    curl --location --request POST 'http://127.0.0.1:3000/todo' 
    --header 'Content-Type: application/json' 
    --data-raw '{
        "id": null,
        "title": "{description}",
        "description": "{description}"
    }'

Get all Todos

    curl --location --request GET 'http://127.0.0.1:3000/todo'

Get Todo by Id

    curl --location --request GET 'http://127.0.0.1:3000/todo/{todo_id}'

Delete Todo by Id

    curl --location --request DELETE 'http://127.0.0.1:3000/todo/{todo_id}'

Update Todo by Id

    curl --location --request PUT 'http://127.0.0.1:3000/todo' 
    --header 'Content-Type: application/json' 
    --data-raw '{
        "id": {todo_id},
        "title": "{title}",
        "description": "{description}"
    }'

GitHub

View Github


NetCore 6.0 How to access connection string in dbContext file

Spring boot response is returned before for loop is finished webflux