Wow!
I think, is the code shorter and it runs faster?
Maybe what I think is wrong.
I think using external components may make the code run longer.
I am experiencing a problem with VBS code output
Wscript.Echo r.ResponseBody All are garbled
Wscript.Echo r.ResponseText Unicode characters are garbled
I think, is the code shorter and it runs faster?
Maybe what I think is wrong.
I think using external components may make the code run longer.
I am experiencing a problem with VBS code output
Wscript.Echo r.ResponseBody All are garbled
Wscript.Echo r.ResponseText Unicode characters are garbled
Set r = CreateObject("WinHttp.WinHttpRequest.5.1")
r.Open "POST", "https://aip.baidubce.com/rest/2.0/ocr/v1/general_basic"
r.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
r.Send "access_token=24.b305c9822131e65eda05e29c157dd719.2592000.1559103982.282335-16139329&image=iVBORw0KGgoAAAANSUhEUgAAAScAAACCCAYAAAAE%2FA6oAAAK40lEQVR4nO3dQU%2FbyBvH8Ser%2F0uA8gbISmHpGwhiK3EjvVRVleve0ko9wGVvK7VIvXEJB7Qlt71G24rLhhtSi%2BAN0CXSJm%2BAwnvIf2bsUEjsxE4m8ePw%2FUhICBzbie1fZsYznkLPEABQ5qesdwAAohBOAFQinACoRDgBUIlwAqAS4QRAJcIJgEqEEwCVCCcAKhFOAFQinACoRDgBUIlwAqAS4QRAJcIJgEqEEwCVCCcAKhFOAFQinACoRDgBUIlwAqAS4QRAJcIJgEqEEwCVCCcAKhFOAFQinACoRDgBUIlwAqAS4QRAJcIJgEqEEwCVCCcAKhFOs3bblW7W%2BwDkkL9wuj2Qjb2CvG6nWX5DDm697UGoKwcfU%2ByHcfK5IIWPBzMKkX%2FkN%2FO5FNJ8NlM7kddz3R7gX6FneFubDZzDXbmQmrTeHcn2uOXbr6XQbJhfEi6fkA2byuUEL3zakt5LX3sR6n8ms1i3xu0Cnvit1i3tyB9P7S8NqXw%2BGb986Uha4fLH3r%2FlbeD1pDf2pyP1FbP4Sl06i3QR94%2FFZYUSFHLJe5vTdqmWfnkTDL%2BXYhZoH8yg6vc4BMeiLGvL45ftnh1Igq8TYG7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AqEU4AVCKcAKhEOAFQiXACoBLhBEAlwgmASoQTAJUIJwAqEU4AVCKcAKhEOAFQiXACoBLhBEAlwgmASoQTAJUIJwAqEU4AVCKcAKj0f0KuyhM4KAWmAAAAAElFTkSuQmCC&language_type=CHN_ENG&probability=true&detect_direction=true"
Wscript.Echo r.ResponseBody
'Wscript.Echo r.ResponseText