请问快递100 OCR面单.net的代码格式如下,请问如何转换到foxtable
curl --location --request POST 'http://api.kuaidi100.com/elec/detocr' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'key=yourkey' \
--data-urlencode 'param={"enableTilt":true,"imageUrl":"https://cdn.kuaidi100.com/images/openapi/document/ocr_tem.png"}'
此主题相关图片如下:ocr.png
[此贴子已经被作者于2024/12/19 9:15:34编辑过]
http://www.foxtable.com/mobilehelp/topics/0153.htm
Dim hc As New HttpClient("http://api.kuaidi100.com/elec/detocr")
hc.ContentType = "application/x-www-form-urlencoded"
hc.Headers.Add("Content-Type", "application/x-www-form-urlencoded")
hc.FormData.Add("key",UrlEncode("yourkey"))
hc.FormData.Add("param",UrlEncode("{""enableTilt"":true,""imageUrl"":""https://cdn.kuaidi100.com/images/openapi/document/ocr_tem.png""}"))
Dim ret As String = hc.getData()
msgbox(ret)
[此贴子已经被作者于2024/12/19 9:21:21编辑过]
增加了key之后显示这个错误[“Code”:400,“Message”:“[param]格式错误,请检查后重新尝试”,“taskID”
1f26ddf6845c48e7ae3b9d1761855c6d“