changed message to 'Joe mama'
This commit is contained in:
parent
821bf1c9d9
commit
f11ee9f51b
|
@ -1,14 +1,14 @@
|
|||
from flask import Flask, request
|
||||
import json
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route('/restart-this-app')
|
||||
def funky_function():
|
||||
data = { 'message': "Hello World!" }
|
||||
response = json.dumps(data)
|
||||
|
||||
return response, 200, { 'Content-Type': 'application/json' }
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(host='0.0.0.0', port=5002)
|
||||
from flask import Flask, request
|
||||
import json
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route('/restart-this-app')
|
||||
def funky_function():
|
||||
data = { 'message': "Joe mama" }
|
||||
response = json.dumps(data)
|
||||
|
||||
return response, 200, { 'Content-Type': 'application/json' }
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(host='0.0.0.0', port=5002)
|
||||
|
|
Loading…
Reference in New Issue