We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://www.jianshu.com/p/b10454ed38ba
同事有个服务POST方法下只接受FormData格式参数,之前在vue项目中用过,这次在node服务中也要继续用下,代码复制过来死活不行,搞了半天,才发现node下默认不是 FormData,而是 Stream,尴尬了,只能改下。
FormData
Stream
见 http://www.axios-js.com/zh-cn/docs/#%E8%AF%B7%E6%B1%82%E9%85%8D%E7%BD%AE 下的 data 说明
data
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://www.jianshu.com/p/b10454ed38ba
同事有个服务POST方法下只接受FormData格式参数,之前在vue项目中用过,这次在node服务中也要继续用下,代码复制过来死活不行,搞了半天,才发现node下默认不是
FormData
,而是Stream
,尴尬了,只能改下。见 http://www.axios-js.com/zh-cn/docs/#%E8%AF%B7%E6%B1%82%E9%85%8D%E7%BD%AE 下的
data
说明The text was updated successfully, but these errors were encountered: