add JSON template examples

This commit is contained in:
KF7EEL
2021-04-21 19:16:03 -07:00
parent 1ce6c26d84
commit e3817980ec
3 changed files with 83 additions and 38 deletions
+2
View File
@@ -772,6 +772,8 @@ def api(api_mode=None):
mode=api_data['mode'],
status='Not an authorization method',
)
if api_data['mode'] == 'app':
print('implement')
else:
message = jsonify(message='Mode not found')
return make_response(message, 400)