Page 1 of 1
web server help please
Posted: Sun Feb 08, 2004 7:29 am
by vincenz
Has anyone sucessfully created a webserver that "allows" GET and POST commands?
Posted: Sun Feb 08, 2004 8:56 am
by plouf
not me but GET method is easy the parameters passed
in HTTP URL request so just extract
string between GET and HTTP/1.1
and split it in every & and you have parameters
Posted: Sun Feb 08, 2004 11:40 am
by Proteus
I once tried it. GET is indeed easy.
Because it's HTML-encoded, you can use StringField() to get the part between GET and HTTP/1.1. Then you can use it to parse the parameters.
When I got to the POST part, I freaked out and stopped working on it.
Posted: Tue Sep 14, 2004 1:00 am
by GeoTrail
Have you tried using the CGI lib?