Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inet usando POST
Message
From
01/10/2002 11:08:46
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00706350
Message ID:
00706384
Views:
23
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform