API Update for Link

This commit is contained in:
2022-02-20 23:11:08 -05:00
parent d76510d21f
commit 5071bb3243
+4
View File
@@ -13,6 +13,10 @@ def brightness():
status = os.popen('sudo cat /sys/class/backlight/rpi_backlight/brightness').read()
return status
@app.route('/connection',methods = ['POST'])
def connection():
if request.method == 'POST':
return "OK"
@app.route('/audio',methods = ['POST'])
def volume():