Repetitive http post problem!

I previously wanted to send text data "contents" over 2048 bytes using http post.

However, knowing that AT+CIPSEND does not support the length of 2048 bytes or more, I tried to transmit the text by dividing it.

The first data is transmitted normally, but the second data is not transmitted. What's the reason? Should I give more delay?

1 data ->

documentJson={"list":[{"s_id" : "1111","day" : "2020-08-31","logtime" : "2020-08-31 14:50:26","hdc1080_Temp" : "125.00","hdc1080_RH" : "100.00","pm2008_PM10GRIMM" : "0.00","pm2008_PM25GRIMM" : "0.00","pm2008_PM100GRIMM" : "0.00","pm2008_PM10TSI" : "0.00","pm2008_PM25TSI" : "0.00","pm2008_PM100TSI" : "0.00","pm2008_Numof03" : "0.00","pm2008_Numof05" : "0.00","pm2008_Numof1" : "0.00","pm2008_Numof25" : "0.00","pm2008_Numof50" : "0.00","pm2008_Numof100" : "0.00","ccs811_eco2" : "0.00","ccs811_etvoc" : "0.00","seeed_NH3" : "-3.00","seeed_CO" : "-3.00","seeed_NO2" : "-3.00","seeed_C3H8" : "-3.00","seeed_C4H10" : "-3.00","seeed_CH4" : "-3.00","seeed_H2" : "-3.00","seeed_C2H5OH" : "-3.00","MQ2_Voltage" : "0.18","MQ2_R0" : "9.66","MQ2_H2" : "0.77","MQ2_LPG" : "0.37","MQ2_CO" : "1.26","MQ2_Alcohol" : "0.52","MQ2_Propane" : "0.50","MQ131_Voltage" : "0.00","MQ131_R0" : "385.40","MQ131_NOx" : "0.00","MQ131_CL2" : "0.20","MQ131_O3" : "0.14","MHZ19_Co2" : "463.00","MHZ19_Temp" : "27.00","MHZ19_Accuracy" : "0.00","ZE08_CH2O" : "45.00","so2_SN" : "2147483648.00","so2_So2" : "512.00","so2_TEMP" : "27.00","so2_RH" : "54.00","so2_RawSensor" : "32991.00","so2_TempDigital" : "27700.00","so2_RHDigital" : "31558.00"}]}

code ->

while (openFile.available()) {
char c = openFile.read();

if(c == ';'){
_serial_out->println(contents);

delay(1500);
// if you get a connection, report back via serial
if (client.connect((const char*)SERVER.c_str(), 80)) {

_serial_out->print("Connected to server -> ");
_serial_out->println(SERVER);

// Make a HTTP request
client.println("POST /awexomeray/api/iot/create/v1 HTTP/1.1");
client.println("Host: dashboard.awexomeray.com");
client.println("Content-Length: " + String(contents.length()));
client.println("Content-Type: application/x-www-form-urlencoded;");
client.println("Connection: close");
client.println();

client.print(contents);

_serial_out->println();

delay(1500);
}else{
_serial_out->println("Error : Fail connected to server");
_serial_out->println();
}

contents = "";
}else if(c == '\n'){
continue;
}else{
contents.concat(c);
}
}

client.flush();
client.stop();

It would be helpful for you to follow the forum rules for making posts, especially putting your code between [ code ] and [/ code ] and including all the code not just the part you assume to be the problem.

I sugest you put some serial int statements in the area of code that is executed when it does not enter the part that outputs to the client as a fisrt step - and post the results.