Hello, I am geting some troubles with my WiFi module. I have a free web hosting and I want so send data to my server to be sotered. But when I do get a internal server error 500.
I use telnet to debug and I get the same error, but using the browser or a Android App (http request) I do get any error, the response is what I expected.
Can you tell me what is the problem?
Thanks
Sorry for my english
Can you tell me what is the problem?
Your code, no doubt.
on the arduino:
already connected to ap
AT+CIPSTART=“TCP”,“passthebomb.co.nf”,80
AT+CIPSEND=0,110
AT+CIPSEND=110
GET co.nf HTTP/1.0
php.file:
<?php
date_default_timezone_set('Portugal/Lisbon');
if(isset($_GET['val']) && isset($_GET) ){
echo "teste "." ".$_GET['val']." ". date("Y/m/d")." ". date("h:i:sa");
}else{
echo "teste ". date("Y/m/d")." ". date("h:i:sa");
}
?>
GET http://passthebomb.co.nf/webservice/teste.php?val=100 HTTP/1.0
The GET command does NOT include the protocol (http://) or the server name .