Skip to content

Instantly share code, notes, and snippets.

@parthi22
Created Jan 10, 2019
Embed
What would you like to do?
app file with routing
from flask import Flask
from flask_restful import Api
from resources.todo import Todo
app = Flask(__name__)
api = Api(app)
api.add_resource(Todo, "/todo/<int:id>")
if __name__ == "__main__":
app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment