ESP8266 first code help

 postStr += String(deviceId);
    postStr += "&message_parameter=";
    postStr += String(message);
    postStr += "\r\n\r\n";

there is in the ending
still sometime work and some time no