Flask Requirements
This flask has Python in it, not java!
Do a simple Hello
Do a simple math
Use try/except in Flask
How to change port number in Flask
How to enable debugging in Flask
How to add logger in Flask
How to get environment variable in Flask
How to return a dict in the Flask API
Create two same API end points and see whether it works or not
Try to accept only float in Request param
Try to get city in the Flask request param
Try to consume an API (https://reqres.in/api/users/2) in Flask API itself
Come up with a small decorator to validate the reqeust parameters
Create a post method in Flask with 2 inputs (name, city) and print them
Create a simple Flask api to return the reversed string (when I input "hello", it should return "olleh")
Return the current IP by using some IP utils in Flask API
Translate any word from English to Spanish by using Googletrans python library in Flask API.
Create a simple form in Jinja template and access them via Flask API
Upload a simple text file in Flask API and Jinja
Write one line file in a text file and upload them in Flask by using Jinja. Flask API has to return how many words in the text file.
Have some city names in a text file (see below)
You need to upload the file via Jinja and then it should return the unique cities as a list like below:
22. abd
23. abc
Last updated