Commit
·
ac8f692
1
Parent(s):
89cc3b2
fix
Browse files
app.py
CHANGED
@@ -362,7 +362,7 @@ def get_all_tvshows_api():
|
|
362 |
|
363 |
#############################################################
|
364 |
# unique api's
|
365 |
-
@app.route('/api/register/<instanceid>',
|
366 |
def register_instance(instanceid):
|
367 |
# need to add instance registration logic
|
368 |
return jsonify({f'{instanceid} registered'})
|
|
|
362 |
|
363 |
#############################################################
|
364 |
# unique api's
|
365 |
+
@app.route('/api/register/<instanceid>',methods=['POST'])
|
366 |
def register_instance(instanceid):
|
367 |
# need to add instance registration logic
|
368 |
return jsonify({f'{instanceid} registered'})
|