Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

SIM900 GPRS webserver GET method problem.

Status
Not open for further replies.

ahmad2005

Member level 1
Joined
Mar 30, 2011
Messages
40
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
Mirpur,Dhaka,Bangladesh
Activity points
1,618
Code:
atd*152#





OK



+CUSD: 0,"Your account balance is TK. 12.65.Your account will expire on 29/12/2012.",64




at+cgdcont=?

at





+CGDCONT: (1-3),"IP",,,(0),(0)



OK

AT+CGDCONT=1,"IP","wap"





OK

atd*99***1#





CONNECT



NO CARRIER

AT+CIPstart="TCP","maruf.eee-lab.com","80"





OK



CONNECT OK

AT+CIPSEND





> >





GET /index.php?maruf=1 HTTP/1.1



HOST:maruf.eee-lab.com












SEND OK

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>501 Method Not Implemented</title>
</head><body>
<h1>Method Not Implemented</h1>
<p>GET to /index.html not supported.<br />
</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>


CLOSED

why server replies "GET to /index.html not supported" ?

server side file format is index.php it should be reply some data.
 

You should turn on logging on your web server, to see the reason.
 

Depends on your particular web server. You could google for this.
 

It appears that you may have a blank line between the "Get" and the "HOST" lines. A blank line indicates the End-of-Header, so the server will not see the HOST line as part of the header.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top