Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Http responseText
Message
De
06/05/2022 07:57:54
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Http responseText
Divers
Thread ID:
01684339
Message ID:
01684339
Vues:
51
Good Morning,
In VFP6,
I'm trying to get the name 'CORNÉLIO' with the following code, but it's returning 'CORNÃ?LIO'.
what parameter should I pass to http to not convert the value
Can someone explain to me how to do it.
thank you in advance

oHTTP = CREATEOBJECT("WinHttp.WinHttpRequest.5.1")
WITH oHTTP
.Open("GET", lcURL, lcAsyncMode)
.setRequestHeader('Accept', 'application/json')
ENDWITH
oHTTP.send()
the_name = oHTTP.responseText
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform