Hi,
I am new, but I have been poking around since I experienced the urequests library not found error.
I REPL'd into my Core3,, and sure enough, it wasn't there, but there was one called requests.
I did some poker with the code in UiFlow and read many Google answers, but I managed to get it to work. I ended up with the HTTP request in a code block.
http_req = requests.request(
method='POST',
url='http://192.168.1.51/json/state',
headers={'Content-Type':'application/json'},
data='{"on":true,"bri":255, "v":true, "seg":{"fx":"r", "pal":"r"}}'
)
http_req.close()
It seemed to work for me, but I would prefer to get it working correctly.