Keeps getting error on AT+HTTPPARA command

I am using sim 800 GSM/GPRS module . When I try to connect it to the Internet through gprs connection,it acquires connection(network LED blinking fast)and for all commands,module responds ‘OK’.After these all when I try to pass this, (AT+HTTPPARA=“URL”,"http://group35.epizy.com/hardware.php?sid=1&field=name), it doesn’t response back with “OK”.Can you help me to recognize the reason for this?Thanks in Advance.
Here are the order of the commands I tested before above mentioned command and their responses.
ATE0 -> OK
AT+SAPBR=3,1,“CONTYPE”,“GPRS” -> OK
AT+SAPBR=3,1,“APN”,“ppwap” -> OK
AT+SAPBR =1,1 -> OK
AT+HTTPINIT ->OK
AT+HTTPPARA=“CID”,1->OK

Normally we dont use http:// in entering URL. We start from group35…
And check if you are ending it with double quote after name".
See if you are exceeding URL length.

1 Like

Sir,What did you mean by saying ‘see you are exceeding URL length’.I didn’t quite get it.can you explain it?

Now I manage to set URL.but I’m getting JS code as data instead of response I expected.Can you tell me what is the reason for that?Thanks.

May be your page is returning the JS code. Try doing a GET request though Fiddler and see in raw format what is returned.

With the aid of fiddler, I was able to find that it is returning JS file called aes.js.But I never had such file and I am hosting it on a free web hosting service.Then I used this (http://192.248.12.7/~174084f/hard.php) as a test and it works perfectly in the browser and fiddler but no information is received by the GSM module.What may be the reason for that?Thanks.

Finally I managed to solve the error.Thank you for your support upto now.Thanks in advance.:slightly_smiling_face:

1 Like

I am facing same problem. Can you tell me how to solve that problem. #pavindu_lakshan