GET and POST

franck opo at opo.com
Thu Sep 11 15:58:52 CEST 2003


HI,

this is my code
params = {}

params['fuseaction'] = '*****';
params['user'] = '***';
params['password'] = '**********';
params['num_card'] = '******';
params['date_of_birth'] = '****';

params = urllib.urlencode(params)
f = urllib.urlopen("http://bidule.com",params)
print f.read()

my contact tell me i must do a GET or fuseaction and POST for other param.

i dont know how to do this and if its possible.
someone tell me its ok to do that, but how in python?

i dont unsderstand the different between GET and POST but i know how to code
it separately.

thx in advance.







More information about the Python-list mailing list