标题:http post 返回application/octet-stream;charset=UTF-8
只看楼主
weiyisc
Rank: 1
等 级:新手上路
帖 子:69
专家分:7
注 册:2009-5-17
结帖率:80.95%
已结贴  问题点数:20 回复次数:1 
http post 返回application/octet-stream;charset=UTF-8
inbl={} **json
httpObj = createobject("Msxml2.serverXMLHTTP")
httpObj .open("POST",postDataUrl,.f.)
httpObj .setRequestHeader("Content-Type","application/json")
httpObj .setRequestHeader("APIkey","dbc19bce-55fa-4d27-93dd-93f4fe07f274")
httpObj .send(inbl)
ww = httpObj .ResponseText

ww返回一个文件流,application/octet-stream

求教,VFP中怎么接收转存文件???
搜索更多相关主题的帖子: http post application VFP 返回 
2022-10-09 23:39
吹水佬
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
等 级:版主
威 望:432
帖 子:10064
专家分:41463
注 册:2014-5-20
得分:14 
ww是字符串,strtofile 看看,格式问题可先转换
2022-10-10 09:36



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-510250-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.921532 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved