title: Send data from SIM800 to a server
body: <h3>Can somebody help me?</h3>
  
  <p>I have problems sending data from a SIM800C to a website.</p>
  
  <p><strong>The first problem is</strong>, I uploaded the following code to Arduino (I use the Serial Monitor in Arduino IDE to send AT commands to the SIM800 and read the response).</p>
  
  <pre><code>#include &lt;SoftwareSerial.h&gt;
  
  #define TX 10
  #define RX 11
  #define t 2000
  
  SoftwareSerial mySerial(RX, TX);
  int k=0, aS=0, amS=0;
  
  void setup() {
    Serial.begin(9600);
    while(!Serial); // Wait for Serial ready
    Serial.println("Intalizing...");
    mySerial.begin(9600);
    delay(5000);
    mySerial.println("AT"); // Send the first AT command to auto set baud rate
    delay(1000);
    Serial.println("You can type AT command and send to SIM800 by using Serial Monitor");
  }
  
  void loop() {
    k=0;
    aS=Serial.available();  // aS: The number of bytes available to read from the buff of Serial
    amS=mySerial.available(); // amS: The number of bytes available to read from the buff of mySerial
    while(aS&gt;0) {
      mySerial.write(Serial.read());
      k=1; aS--;
    }
    if (k==1) {
      mySerial.println();
    }
    while (amS&gt;0) {
      Serial.write(mySerial.read());
      k=2; amS--;
    }
    delay(1000);
  }
  </code></pre>
  
  <p><strong>Next</strong>, I send the AT commands below one by one and viewed responses. All the AT commands and responses can be seen on the Serial Monitor.</p>
  
  <pre><code>AT+SAPBR=3,1,"Contype","GPRS"
  AT+SAPBR=3,1,"APN","m3-world"
  AT+SAPBR=3,1,"USER","mms"
  AT+SAPBR=3,1,"PWD","mms"
  AT+CSTT="m3-world","mms","mms"
  AT+SAPBR=1,1
  AT+HTTPINIT
  AT+HTTPPARA="CID",1
  AT+HTTPPARA="URL","http://weatherstation.byethost3.com/"
  AT+HTTPDATA=9,10000
  value=YOU
  AT+HTTPACTION=1
  </code></pre>
  
  <p>The last response below shows that the data (value=YOU) have been sent successfully.</p>
  
  <pre><code>OK
  ++HTTPACTION:1,200,839
  </code></pre>
  
  <p>I have created <a href="http://weatherstation.byethost3.com/" rel="nofollow noreferrer">a website</a> to read data with the GET method. <strong>My problem</strong> is nothing changes on the website. That means the website has not read the data sent from the SIM800 yet.</p>