Sim800 http url length problem

http
sim800l

#1

Hello everyone
I am using blow steps to send data to server with HTTP url and get the response .
When url length is short , everything is ok . but when url length increase to about 1000 chars , i get ERROR after (AT+HTTPPARA) . how can i fix this problem ?

“AT+CGATT=1\r\n”
“AT+SAPBR=3,1,“CONTYPE”,“GPRS”\r\n”
“AT+SAPBR=3,1,“APN”,”"\r\n"
“AT+SAPBR=1,1\r\n”
“AT+HTTPINIT\r\n”
“AT+HTTPPARA=“CID”,1\r\n”
"AT+HTTPPARA=“URL”,"http://example.net/API/SendSms.ashx?username=%s&password=%s&from=%s&to=%s&text=%s"\r\n\r\n\r\n\r\n"

“AT+HTTPACTION=0\r\n”


#2

There is limit to URL length. Shorten variable names and try to use HTTP POST instead of HTTP Get for long data.