Search found 2 matches

by Rat_financial
Mon Jul 19, 2021 3:05 am
Forum: ESP32 boards
Topic: Error reading return content
Replies: 4
Views: 1510

Re: Error reading return content

I think this has come up before, and what we found is that the HTML returned is actually an error page. (And hopefully that will explain what's going on). Perhaps a missing header that Python is setting, but MicroPython isn't? I also notice that you're telling the server that it's form-urlencoded d...
by Rat_financial
Sun Jul 18, 2021 3:47 pm
Forum: ESP32 boards
Topic: Error reading return content
Replies: 4
Views: 1510

Error reading return content

currently using google app script When using python post , it returns json normally but when using micropython post it returns html code: import prequests as requests headers = {'Content-Type': 'application/x-www-form-urlencoded'} upload = {"data": "88"} res = requests.post(url, json = upload, heade...