How can I use urequests module?
Posted: Mon Feb 04, 2019 4:30 pm
I am using ESP32 and it seems to me that there is a memory error. I believe it's due to the library / lib I see when I use the command ampy --port / dev / ttyUSB0 ls. I'm trying to use the following code:
import urequests as re
r = re.get ('site where I get get')
and appears:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "ureque.py", line 139, in get
File "ureque.py", line 122, in request
File "ureque.py", line 66, in request
OSError: [Errno 12] ENOMEM
import urequests as re
r = re.get ('site where I get get')
and appears:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "ureque.py", line 139, in get
File "ureque.py", line 122, in request
File "ureque.py", line 66, in request
OSError: [Errno 12] ENOMEM