Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Flask: Example uses blueprint routes library
- @bp.route('/', methods=['PUT'])
- def create_resource():
- return
- # Flacon: Create a class to create a resource and implement REST functions
- class Resource(...):
- def on_put(self, request, response):
- return
Advertisement
Add Comment
Please, Sign In to add comment