Microservices Classroom Series – 16/Nov/2021

Debugger Configuration of Flask

  • Basic Configuration Preview
  • In ENVIRONMENT VARIABLES Enter PYTHONUNBUFFERED=1;FLASK_APP=app.py;FLASK_ENV=development Preview
  • Explore flask command line Preview
  • If you want to set a specific port then change the following in the debug configuration Preview
  • Now we can debug from PyCharm Preview
  • 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

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About learningthoughtsadmin