can't get xmlhttprequest working on nodemcu #5651
Unanswered
espruino-discuss
asked this question in
ESP8266
Replies: 1 comment
-
Posted at 2017-03-10 by azer file converter solved my problem .... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-03-10 by azer
Hi, forgive me for my bad english.
I'm using a nodemcu devkit 0.9 with espruino v1.89. When I add these lines, my board seems to crash. I can't get the prompt and i have to disconnect en reconnect the board to usb, then make a reset. If i remove these lines, everything is fine.
This is the memory without these lines:
={ "free": 1332, "usage": 368, "total": 1700, "history": 383 }
So it's not a problem with memory limit. It seems to be a problem with xmlhttp.open, xmlhttp.setRequestHeader and xmlhttp.send. The problem appears just when I add the 3 lines. Any idea ??
Beta Was this translation helpful? Give feedback.
All reactions