Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I do a HTTP Get and POST from VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01589679
Message ID:
01589698
Vues:
69
>Hi,
>I have a VFP desktop app and I need to call a RESTful WS.
>I need to make a HTTP Get and Post call from my VFP Code. Anyone here already done this?
>
>It has been years since I code in VFP.

Post (le site a changé)

oHttp = Createobject("WinHttp.WinHttpRequest.5.1")
oHttp.Open("POST", "http://www.moviecovers.com/getfilm.html",.F.)
oHttp.Send("idmc=100 GIRLS")
MESSAGEBOX( ohttp.responseText)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform