ESP8266 PUT method doesn't work492
Pages:
1The_Doctor private msg quote post Address this user | ||
Hello, I have problem with uploading data with ESP8266 (with ThingSpeak it works, but GS is a better solution for my application). I don't use Arduino HW or SW, but my own library (but this is probably not a problem). In a web browser, this command works
but when I do this with ESP8266
The ESP sends data to grovestreams
but nothing happen (values will not show on server). I also tried this
then I get answer from server
Please, what am I doing wrong? |
||
Post 1 IP flag post |
seckford private msg quote post Address this user | ||
The following works in NodeMCU, and might be translateable:
I had to use Wireshark to find out exactly what NodeMCU was transmitting, and set it up the way GroveStreams expects. Will |
||
Post 2 IP flag post |
The_Doctor private msg quote post Address this user | ||
Thanks! It already works. The problem was with the missing two "nn" at the end of the PUT command. This code string below is working example.
Hope it helps another programmers which don't use 3rd party libraries. |
||
Post 3 IP flag post |
sfm private msg quote post Address this user | ||
can I have the code for uploading data with ESP8266, please? | ||
Post 4 IP flag post |
Pages:
1