Debugger Configuration of Flask
- Basic Configuration
- In ENVIRONMENT VARIABLES Enter
PYTHONUNBUFFERED=1;FLASK_APP=app.py;FLASK_ENV=development
- Explore flask command line
- If you want to set a specific port then change the following in the debug configuration
- Now we can debug from PyCharm
- Refer Here for the changeset containing postman collection with variable base_url
Recipe Management
- Lets use the POST request to create a recipe.
- The data will be send in the message body.
- Refer Here for the changes done to include POST
- Lets use the PUT request to update a recipe
- Refer Here for the changes done
- Exercise: Try to build a DELTE request