-
• #3
Ahh yes, that did it, thanks!
I was looking at the http.request reference and basically tried using the code there , which has no call to end. -
• #4
Glad you got it sorted! I'll get the reference updated
edit: The reference did actually mention
.end
, but it definitely sh ould have had it in the example :) There's a good example of using HTTP POST here if you're interested as well: https://www.espruino.com/Internet#http-post
Hi all,
I can for the life of me not get the http.request to work but the http.get works just fine. Please see the code I use below. The http.request just does nothing, seemingly the callbacks don't get fired at all.
I played around with all kind of different options, but none seem to work. I'm puzzled... once again.