DEV Community

Cover image for Making a REST API Using Python - Flask
Raghav Mrituanjaya
Raghav Mrituanjaya

Posted on • Edited on • Originally published at thegogamicblog.xyz

Making a REST API Using Python - Flask

Hi guys, In this post, we will be building a rest API in python using a microframework called Flask. There are basically two methods to create a Rest API using a flask. If you looking to find out more about Flask do check out my post on Introduction To Flask.

Method I - Using Only Flask

The first method is to use only flask without any other packages

Method II - Using Flask API

In this method, we use a package called flask API

Conclusion

  • These are a simple way to create API in Python. You could also use FastAPI(A New post on it coming soon!).
  • Do Consider Digital Ocean if you are trying to host your application.

Top comments (0)