'urequests' isn't defined

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
RamblingGeek
Posts: 1
Joined: Sun May 16, 2021 9:15 am

'urequests' isn't defined

Post by RamblingGeek » Sun May 16, 2021 9:18 am

I just upgraded an esp32 to v1.15 from v1.13 and now I'm receiving

NameError: name 'urequests' isn't defined

Has it been removed ?

SpotlightKid
Posts: 463
Joined: Wed Apr 08, 2015 5:19 am

Re: 'urequests' isn't defined

Post by SpotlightKid » Sun May 16, 2021 9:06 pm

Yes:

https://github.com/micropython/micropyt ... 886a1e8f71

IMHO the module is of limited use anyway, since it doesn't support HTTP basic auth or redirections and has other problems too.

I wrote an enhanced version called mrequests, maybe you will find it useful:

https://github.com/SpotlightKid/micropy ... /mrequests

Post Reply