import network
import time
import urequests as requests


print("Connecting to WiFi", end="")
sta_if = network.WLAN(network.STA_IF)
sta_if.active(True)
sta_if.connect('Wokwi-GUEST', '')
while not sta_if.isconnected():
  print(".", end="")
  time.sleep(0.1)
print(" Connected!")

# Define the API key and URL for the GET request
api_key = ".................your_key................"
ifttt_url = "https://maker.ifttt.com/trigger/ESP32_message/with/key/" + api_key\
    +"?value1=10&value2=20&value3=30" 

res = requests.get(url=ifttt_url)
print(res.text)