Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tasks = [
- {
- 'id': 1,
- 'title': u'title',
- 'description': u'',
- 'content': 'content',
- 'done': False
- }
- ]
- @app.route('/raft/v1.0/get_xml', methods=['GET'])
- def index():
- return jsonify({'task': tasks)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement