How to send datas for servidor extern

Eu estou com um codigo no qual ele está funcionando porem o dado nele não aparece no banco,
feito o teste do arquivo esspóst.php inserir pelo browser e foi, o problema está no codigo abaixo:

#include “ESP8266.h”
#define SSID “Nome da rede”
#define PASSWORD “senha”
#define HOST_NAME “host do servidor”
#define HOST_PORT (80)
ESP8266 wifi(Serial1);
void setup(void)
{
Serial.begin(9600);
Serial.print(“setup begin\r\n”);
Serial.print(“FW Version:”);
//Serial1.print(wifi.getVersion().c_str());
/if (wifi.setOprToStation()) {
Serial.print(“to station ok\r\n”);
} else {
Serial.print(“to station err\r\n”);
}
/
if (wifi.joinAP(SSID, PASSWORD)) {
Serial.println(“Join AP success\r\n”);
Serial.print(“IP:”);
Serial.println( wifi.getLocalIP().c_str());
} else {
Serial.print(“Join AP failure\r\n”);
}

// if (wifi.disableMUX()) {
// Serial.print(“single ok\r\n”);
// } else {
// Serial.print(“single err\r\n”);
// }
//

Serial.print(“setup end\r\n”);
}

void loop(void)
{
uint8_t buffer[1024] = {0};
if (wifi.createTCP(HOST_NAME, HOST_PORT)) {
Serial.print(“create tcp ok\r\n”);
} else {
Serial.print(“create tcp err\r\n”);
}
char hello=“GET /esppost.php?id=‘5050’&hora1=‘13:00’&hora2=‘18:45’&hora3=‘22:30’&qnt=‘2’, HTTP/1.0”;
wifi.send((const uint8_t
)hello, strlen(hello));
uint32_t len = wifi.recv(buffer, sizeof(buffer), 10000);
if (len > 0) {
Serial.print(“teste”);
Serial.print(“Received:[”);
for(uint32_t i = 0; i < len; i++) {
Serial.print((char)buffer*);*

  • Serial.print(“for”);*

  • }*

  • Serial.print("]\r\n");*

  • Serial.print(“receb”);*

  • }*

  • if (wifi.releaseTCP()) {*

  • Serial.print(“release tcp ok\r\n”);*

  • } else {*

  • Serial.print(“release tcp err\r\n”);*

  • }*

  • while(1);*

}

Wrong forum / Este é o fórum errado HOSTNAME não deve haver espaço ' ' e seu pedido http não está bem formado (Google translate)

I don’t speak Portuguese - you pinged me on PM – I usually don’t answer those. Please don’t.

char *hello=“GET /esppost.php?id=‘5050’&hora1=‘13:00’&hora2=‘18:45’&hora3=‘22:30’&qnt=‘2’ HTTP/1.0\r\nHost: servidor.com\r\n”;

But this is for a web server you need to read more about wifi client

J-M-L: I don't speak Portuguese - you pinged me on PM -- I usually don't answer those. Please don't.

char *hello="GET /esppost.php?id='5050'&hora1='13:00'&hora2='18:45'&hora3='22:30'&qnt='2' HTTP/1.0\r\nHost: servidor.com\r\n";

But this is for a web server you need to read more about wifi client

this is a webservice, help me whats I need to do more?