Webex meeting recording: Lab IOT-20211227 0055-1 Password: 9sDNVRwH Recording link: https://umt.webex.com/umt/ldr.php?RCID=52dea3ba19e8b447b575e72e210934bf password: 9sDNVRwH file data.py code untuk esp32 connect dan transfer data ke server import os import network import urequests wl = "Pixel_3999" wlpw = "88888888" wlan = network.WLAN(network.STA_IF) wlan.active(True) wlan.connect(wl,wlpw) while not wlan.isconnected: pass print(wlan.ifconfig()) websvr = "http://192.168.143.163:8080/api/table/A/status/0" #websvr = "http://192.168.143.163:8080/order/B" rsps = urequests.put(websvr) #headers = {'content-type': 'application/json'} #headers = {'user-agent': 'Mozilla/5.0'} #payload={'f0':1,'d0':1} #rsps = urequests.post(websvr,json=payload,headers=headers) #rsps = urequests.get(websvr,data=payload) print(rsps.content)