请参考此博客。 https://www.cnblogs.com/gtsup/p/10150927.html 问题在于'Content-Length': postData.length 的问题。 中文是三个字符的。