I have connected GSM SIM900 to laptop using USB-Serial converter. I have a GET API deployed on Azure. I am trying to send data to it using below AT commands:
AT+CCID
AT+CREG?
AT+CGATT=1
AT+CGACT=1,1
AT+SAPBR=3,1,"APN","www"
AT+SAPBR=1,1
AT+HTTPINIT
AT+HTTPPARA="URL", "https://<name>.azurewebsites.net/api/InjectData?d1=+11.2345+&d2=+71.12345"
AT+HTTPACTION=0
AT+HTTPTERM
All of the commands response with OK but once I send AT+HTTPACTION=0 I get response as 603. Not able to understand this properly as the API works fine in Postman. What could be the reason for the failure?
Have you tried reading the api response with
I think it can be used like that
AT+HTTPREAD