Micropython Urequests.post Failures
I'm trying to receive notifications on my (Android) mobile device from an ESP8266 MCU running MicroPython. For this reason I subscribed to a couple of online services exposing some
Solution 1:
The exception message suggests that you pass the type of data which urequests
doesn't expect. From my knowledge of how HTTP POST works (see HTTP standard), I know that it accepts octet stream, which in Python would be represented by str
or bytes
type. Whereas you pass a dictionary.
`
Post a Comment for "Micropython Urequests.post Failures"