ESP32 DevKit WIFI+BLE WebServer POST problem #7115
Replies: 1 comment
-
Posted at 2018-11-02 by Engineer Upd: I've tried this example and result the same. Each Google Chrome:
Posted at 2018-11-13 by Wilberforce Can you post your code? Posted at 2018-11-14 by Engineer
I've found what is the source of problem. If you don't put
Posted at 2018-11-15 by @gfwilliams Could you post your entire code? There's a high likelihood that you're just not closing the POST request with Posted at 2018-11-16 by Engineer Sorry, I can't post that code. I have deleted it. I believe that I didn't use
Posted at 2018-11-16 by Wilberforce Yes - not calling end would do that! Posted at 2018-11-19 by Engineer I've tested some code without |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-11-02 by Engineer
Hello everyone!
I'm using ESP32 DevKit with
espruino_2v00_esp32
Flashed:
python "../../esptool/esptool.py" --chip esp32 --port COM6 --baud 921600 --after hard_reset write_flash-z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 bootloader.bin 0x8000 partitions_espruino.bin 0x10000 espruino_esp32.bin
ESP on startup connects to my local Wifi and create Web Server that serves web page. I can connect to this Web Server and get web page without any problem. JS on page generates every 2 seconds
GET
request and receivesJSON
string. All OK. But when I'm starting sendPOST
request after several such requests Web Server not responses anymore . Also I noticed that after everyPOST
increases memory usage.So I need your help... Is it my code or something else?
Console Log:
Beta Was this translation helpful? Give feedback.
All reactions