wx.request是否可以支持content-type: text/xml?
发布于 5 年前 作者 xiulancao 2723 次浏览 来自 官方Issues

目前使用wx.request post发送xml数据,content-type设置为text/xml,服务器返回415,同样的请求用postman是ok的

2 回复

目前只有两种。你可以把xml转成对象啊

自己做个服务端中转下了~

先post到自己的服务器,再post到第三方

回到顶部