nimaaa
Newbie level 6
- Joined
- Jul 25, 2014
- Messages
- 14
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 3
- Location
- Tehran, Iran, Iran
- Activity points
- 122
Sending a Single data to Web Server via Sim900's Get Method
HI All
I want to send a single data to my webserver , and I want to use get Method
but after using AT+HTTPACTION sim900 gives me the 404 error
do you know how I should solve that ??
my At Commands are :
AT+SAPBR=1,1
AT+HTTPINIT
AT+HTTPPARA="CID",1
AT+HTTPPARA="URL","http:///mydomain.in/nri.php?data=10"
AT+HTTPACTION=0
AT+HTTPTERM
and my php code in nri.php is :
<?php
echo " Nima" ;
$var1=$_GET['data'] ;
echo $var1 ;
?>
Thanks in Advance
Referring To Old Thread :
https://www.edaboard.com/threads/281314/
HI All
I want to send a single data to my webserver , and I want to use get Method
but after using AT+HTTPACTION sim900 gives me the 404 error
do you know how I should solve that ??
my At Commands are :
AT+SAPBR=1,1
AT+HTTPINIT
AT+HTTPPARA="CID",1
AT+HTTPPARA="URL","http:///mydomain.in/nri.php?data=10"
AT+HTTPACTION=0
AT+HTTPTERM
and my php code in nri.php is :
<?php
echo " Nima" ;
$var1=$_GET['data'] ;
echo $var1 ;
?>
Thanks in Advance
Referring To Old Thread :
https://www.edaboard.com/threads/281314/
Last edited: