Posting data problem...
Blitz3D Forums/Blitz3D Programming/Posting data problem...
| ||
I need some help! I was using on my game a gnet style server listing (on my own server), but now I'm having a huge problem! here's more or less my code to get the game server list from the: And this is the output I get: <!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> What's wrong? If I access the same 'list.php' from the browser (http://www.icongames.com.br/list.php?game=BOLA%20DE%20GUDE) everything works as expected. Why I'm getting 'Bad requests'? Any hints? |
| ||
Nevermind, solved it by passing parameters right after the POST. |
| ||
for example???? i need to see how to pass parameter after the post |
| ||
It's exactly what I said:WriteLine t, "POST /list.php?game=BOLA%20DE%20GUDE HTTP/1.1" Just pass the parameters right after the POST. It may or may not work depending on your server though. Last edited 2011 |