I have my web application whose get data from endpoint: ip/update/param1/param2. It's work when I enter url in my broswer. But I want to do this with arduino using esp 01s. I have send data with arduino to thingspeak serwer but now I want send this to my serwer
monitor.println("AT+CIPMUX=1");
monitor.println("AT+CIPSTART=0\"TCP\",\"ip\",80");
monitor.println("AT+CIPSEND=0" + String(lon));
monitor.println(command);
monitor.println("AT+CIPCLOSE");
Up is how i send data and where command and lon are:
String command = "GET http://ip/update/10/12/";
command += "\n\r\n\r";
short lon = command.length() + 3;
But this isn't work and I can't find how do this.
EDIT I want to try manualny send data to my endpoint but it dosen't work. I write these commands:
AT+CIPMUX=1
OK
AT+CWMODE=1
OK
AT+CWJAP="name","password"
OK
AT+CIPSTART=0,"TCP","vps_ip",80
0,CONNECT
OK
AT+CIPSEND=0,76
> GET vps_ip/update/15/50busy s...
SEND OK
AT+CIPCLOSE
MUX=1
When I paste this in my broswer vps_ip/update/15/50
it works.
Maybe this is another reason?