user16275: I have an Arduino Uno and for Wifi an ESP8266.
My ESP8266 Firmware is
AT+GMR

AT version:0.40.0.0(Aug  8 2015 14:45:58)
SDK version:1.3.0
Ai-Thinker Technology Co.,Ltd.
Build:1.3.0.2 Sep 11 2015 11:48:04


baund = 115200,
 Both NL & CR

Server -- www.linysoft.com
The URL I want to send is either: http://www.linysoft.com/arduino/?light=off OR http://www.linysoft.com/arduino/?light=on.
Depending on to the link I send the result should be either ==> on or ==> off on the page http://www.linysoft.com/arduino/light.json.
Now I want to send an HTTP request (Weblink - http://www.linysoft.com/arduino/?light=on) so it can write according to that link "on" in the light.json page.
The AT command I am sending (my wifi module is connected to my wifi automatically):
WIFI CONNECTED
WIFI GOT IP

AT+CWMODE=1

OK

AT+CIPMUX=1

OK

AT+CIPSTART=0,"TCP","www.linysoft.com",80

0,CONNECT

OK

AT+CIPSEND=0,200

OK
>

Here I am getting a problem after this > I can't send **GET /arduino/?light=on**. I also tried GET /arduino/?light=on HTTP/1.0\r\n.
After putting this line in the textbox, I press the Enter button or Send Button, but nothing happens.
It is stuck here > for some time. And then it shows me:
OK
> 0,CLOSED

Pin Connection
ARDUINO UNO        ESP8266
RX  -------------->  TX
TX  --------------> RX
VCC--------------> 3.3
CH_PD ----------> 3.3
GND -------------> GND


user13432: The domain is missing. Try this instead:  
GET http://www.linysoft.com/arduino/?light=on HTTP/1.0\r\n\r\n

Cheers!
Ref. http://contractorwolf.com/esp8266-wifi-arduino-micro/

user2881: linysoft.com is a virtual host. Just try going to http://100.42.56.28/ and see that the connection is reset. 
So after the GET /arduino/?light=on, you have to also send Host: www.linysoft.com (on the next line).

16275: <p>I have an Arduino Uno and for Wifi an ESP8266.</p>

<p>My ESP8266 Firmware is</p>

<pre><code>AT+GMR

AT version:0.40.0.0(Aug  8 2015 14:45:58)
SDK version:1.3.0
Ai-Thinker Technology Co.,Ltd.
Build:1.3.0.2 Sep 11 2015 11:48:04
</code></pre>

<hr>

<pre><code>baund = 115200,
 Both NL &amp; CR
</code></pre>

<p>Server -- www.linysoft.com</p>

<p>The URL I want to send is either: <code>http://www.linysoft.com/arduino/?light=off</code> OR <code>http://www.linysoft.com/arduino/?light=on</code>.</p>

<p>Depending on to the link I send the result should be either ==> on or ==> off on the page <code>http://www.linysoft.com/arduino/light.json</code>.</p>

<p>Now I want to send an HTTP request (Weblink - <code>http://www.linysoft.com/arduino/?light=on</code>) so it can write according to that link "on" in the <code>light.json</code> page.</p>

<p>The AT command I am sending (my wifi module is connected to my wifi automatically):</p>

<pre><code>WIFI CONNECTED
WIFI GOT IP

AT+CWMODE=1

OK

AT+CIPMUX=1

OK

AT+CIPSTART=0,"TCP","www.linysoft.com",80

0,CONNECT

OK

AT+CIPSEND=0,200

OK
&gt;
</code></pre>

<p>Here I am getting a problem after this > I can't send <code>**GET /arduino/?light=on**</code>. I also tried <code>GET /arduino/?light=on HTTP/1.0\r\n</code>.</p>

<p>After putting this line in the textbox, I press the Enter button or Send Button, but nothing happens.</p>

<p>It is stuck here > for some time. And then it shows me:</p>

<pre><code>OK
&gt; 0,CLOSED
</code></pre>

<p>Pin Connection</p>

<pre><code>ARDUINO UNO        ESP8266
RX  --------------&gt;  TX
TX  --------------&gt; RX
VCC--------------&gt; 3.3
CH_PD ----------&gt; 3.3
GND -------------&gt; GND
</code></pre>
 13432: <p>The domain is missing. Try this instead:  </p>

<pre><code>GET http://www.linysoft.com/arduino/?light=on HTTP/1.0\r\n\r\n
</code></pre>

<p>Cheers!</p>

<p>Ref. <a href="http://contractorwolf.com/esp8266-wifi-arduino-micro/" rel="nofollow">http://contractorwolf.com/esp8266-wifi-arduino-micro/</a></p>
 2881: <p>linysoft.com is a virtual host. Just try going to <a href="http://100.42.56.28/" rel="nofollow">http://100.42.56.28/</a> and see that the connection is reset. </p>

<p>So after the <code>GET /arduino/?light=on</code>, you have to also send <code>Host: www.linysoft.com</code> (on the next line).</p>
