You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
362 B
16 lines
362 B
from flask import Blueprint, request, jsonify
|
|
|
|
app = Blueprint('testview', __name__)
|
|
|
|
|
|
@app.route('/api/test')
|
|
def hello_world(): # put application's code here
|
|
return 'Hello World!'
|
|
|
|
|
|
@app.route('/api/testinput')
|
|
def hello_test(): # put application's code here
|
|
requestValues = request.args
|
|
requestValues.to_dict()
|
|
return jsonify(requestValues)
|