SIM800L - HTTP POST problem

Hello,

I've been able to make a HTTP post though gprs with SIM800L, however, i've been only able to do it by manually input the commands on the serial monitor.

AT+SAPBR=3,1,"Contype","GPRS"

AT+SAPBR=3,1,"APN","net2.vodafone.pt"

AT+SAPBR=1,1

AT+HTTPINIT

AT+HTTPPARA="CID",1

AT+HTTPPARA="URL",myURL
AT+HTTPSSL=0
AT+HTTPPARA="CONTENT","application/x-www-form-urlencoded"
AT+HTTPDATA=110,10000


my message

AT+HTTPACTION=1
AT+HTTPREAD
AT+HTTPTERM
AT+SAPBR=0,1

However, when I try to do it by code, i get an OK for every command, but HTTPACTION fails to work, by returning:
"+HTTPACTION: 1,601,0"

I've triend different libraries, with codes such as "sendCmdAndWaitForResp" and already tried directly with serial.write(command).

I'm totally out of ideas.

Regards,

'+HTTPACTION: 1,601,0' means network error. Have you tried all the possible solutions to be found on Google?

Yes, the strange thing is that i am able by inputting manually the commands on the serial monitor. When I try to code the commands everything works untill the actual posting.