HTTP/1.1 400 Bad Request Date: Wed, 12 Jan 2011 08:32:08 GMT Server: Apache Content-Length: 307 Connection: close Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>400 Bad Request</title> </head><body> <h1>Bad Request</h1> <p>Your browser sent a request that this server could not understand.<br /> </p> <hr> <address>Apache Server at http://www.cortexbs.sk/time.php Port 80</address> </body></html> NO CARRIER
is possible to help with this ??
I try this :
AT#GPRS=1 – OK
AT#SKTD=0,80,"www.cortexbs.sk",0,0 – CONNECT
and what else ? I try example from easy GPRS document but don’t work
what is wrong
I am sure you are typing something wrong. Try rsterm , it has a section to easy test Telit HTTP over socket example.
Please keep to the forum subject, this has more to do with HTTP protocol which has its documentation available for reading in a lot of places.
Check also SNTP (Simple Network Time Protocol), quite easy to implement.
May I write easy question but guru don’t write this to forum and beginner don’t want synchronize time from web. your help work good.
I search before easy way how to synchronize time and look at SNTP but show my self web page is more easy. Show GMT time and if possible to read timezone from network then I can easy synchronize. if not then define my timezone manual.
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
Hi.
I now test connect to my test web server and read any web page.
but don’t wotk .
my server is http://www.cortexbs.sk and I want load page http://www.cortexbs.sk/time.php
but resond is :
HTTP/1.1 400 Bad Request
Date: Wed, 12 Jan 2011 08:32:08 GMT
Server: Apache
Content-Length: 307
Connection: close
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache Server at http://www.cortexbs.sk/time.php Port 80</address>
</body></html>
NO CARRIER
is possible to help with this ??
I try this :
AT#GPRS=1 – OK
AT#SKTD=0,80,"www.cortexbs.sk",0,0 – CONNECT
and what else ? I try example from easy GPRS document but don’t work
what is wrong
I am sure you are typing something wrong. Try rsterm , it has a section to easy test Telit HTTP over socket example.
OK if try this :
GET / HTTP/1.0
Host: http://www.cortexbs.sk
Connection: keep-alive
then receive home page form server but how can I define my self web page??
Try to re-formulate the question please.
OK.
All work if want show me home page : http://www.cortexbs.sk
but if want show this page http://www.cortexbs.sk/time.php
how do that?
if use rsterm and connect to http://www.cortexbs.sk and send to servert this :
GET / HTTP/1.0
Host: http://www.cortexbs.sk
Connection: keep-alive
server send me index.html page (home page of http://www.cortexbs.sk) .
but if send to server this :
GET / HTTP/1.0
Host: http://www.cortexbs.sk/time.php
Connection: keep-alive
then server return bud request 404
what is wrong?
if test FTP than all work good.
why I do that ? I want synchronize internal clock with real time but using NITZ don’t work and search other way how to do it.
easy way is synchronize time from received SMS or from internet.
I create easy web page , if show then see real date time. I want synchronize time from this web page.
GET /time.php HTTP/1.0
Host: http://www.cortexbs.sk
Connection: keep-alive
Please keep to the forum subject, this has more to do with HTTP protocol which has its documentation available for reading in a lot of places.
Check also SNTP (Simple Network Time Protocol), quite easy to implement.
May I write easy question but guru don’t write this to forum and beginner don’t want synchronize time from web. your help work good.
I search before easy way how to synchronize time and look at SNTP but show my self web page is more easy. Show GMT time and if possible to read timezone from network then I can easy synchronize. if not then define my timezone manual.
thanks