Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inet usando POST
Message
De
01/10/2002 11:08:46
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00706350
Message ID:
00706384
Vues:
24
>Estou necessitando pegar um arquivo da internet que tem um CGI que só permite conectar com o HTTP usando POST (Se fosse get já era mole).
>
>Alguém sabe como fazer para buscar um arquivo pelo HTTP fazendo uma chamada POST?

O 2º parâmetro de HttpOpenRequest deve ser... "POST":
m.lnFile = HttpOpenRequest(m.lnConnection,"POST",m.lcFunction,.NULL.,.NULL.,0,0x84000040,0)
Decomposição das flags:
INTERNET_FLAG_RELOAD
INTERNET_FLAG_NO_CACHE_WRITE
INTERNET_FLAG_FORMS_SUBMIT
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform