05-01-2019, 04:43 PM
before you press send on postman you can click on code its in orange from there you can get code snippets that you will better understand.
here is how you set 1 headers in qm
typelib WinHttp {662901FC-6951-4854-9EB2-D9A2570F2B2E} 5.1
WinHttp.WinHttpRequest xhrt._create
xhrt.Open("POST" F"https://aip.baidubce.com/rest/2.0/ocr/v1/general_basic")
xhrt.setRequestHeader("content-type", "application/x-www-form-urlencoded");
here is how you set 1 headers in qm
typelib WinHttp {662901FC-6951-4854-9EB2-D9A2570F2B2E} 5.1
WinHttp.WinHttpRequest xhrt._create
xhrt.Open("POST" F"https://aip.baidubce.com/rest/2.0/ocr/v1/general_basic")
xhrt.setRequestHeader("content-type", "application/x-www-form-urlencoded");