Enable SSL/TLS on esp32 wroom
This commit is contained in:
@@ -7,10 +7,10 @@ def send_request():
|
|||||||
try:
|
try:
|
||||||
print("Action triggered")
|
print("Action triggered")
|
||||||
r = requests.post(
|
r = requests.post(
|
||||||
"http://192.168.15.119:5000/command/party/play",
|
"https://192.168.15.119:5000/command/party/play",
|
||||||
headers={
|
headers={
|
||||||
"Authorization": "Bearer 0eed89e8-7625-4f8d-bf2a-0872aede0efb"
|
"Authorization": "Bearer 0eed89e8-7625-4f8d-bf2a-0872aede0efb"
|
||||||
}
|
},
|
||||||
)
|
)
|
||||||
r.close()
|
r.close()
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
|
|||||||
Reference in New Issue
Block a user