mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
parse_response_object: load response content as json format if possible
This commit is contained in:
@@ -19,6 +19,10 @@ data structure:
|
||||
"""
|
||||
users_dict = {}
|
||||
|
||||
@app.route('/')
|
||||
def index():
|
||||
return "Hello World!"
|
||||
|
||||
@app.route('/api/users')
|
||||
def get_users():
|
||||
users_list = [user for uid, user in users_dict.items()]
|
||||
|
||||
Reference in New Issue
Block a user