General information
Category:
ActiveX controls in VFP
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only