Spaces:
Runtime error
Runtime error
File size: 389 Bytes
f4467c1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
from flask import Flask
app = Flask(__name__)
@app.route('/goto/<location>', methods=['POST'])
def goto(location):
pass
@app.route('/land', methods=['POST'])
def land():
pass
@app.route('/takeoff', methods=['POST'])
def takeoff():
pass
@app.route('/takepicture/<location>', methods=['POST'])
def takepicture(location):
pass
if __name__ == '__main__':
app.run()
|