HttpClient对于x-www-form-urlencoded的支持 #3872
Answered
by
czy88840616
songshitong
asked this question in
Q&A
-
Describe the problem(描述问题)
WireShark抓包显示的请求body是Form item: ""script" = "Jenkins.instance.queue.scheduleMaintenance()"" ,同时接口请求失败
WireShark的抓包body 是 Form item: "script" = "Jenkins.instance.queue.scheduleMaintenance()",接口可以请求成功 Midway Versions(Midway 版本)npx midway-version@latest |
Beta Was this translation helpful? Give feedback.
Answered by
czy88840616
May 24, 2024
Replies: 1 comment 2 replies
-
HttpClient 本意是做一个轻量的 api 发送包,对于 form 这种复杂的流式传输的支持,不在计划内,这种可以使用 node-fetch/axios 来完成。 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
songshitong
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HttpClient 本意是做一个轻量的 api 发送包,对于 form 这种复杂的流式传输的支持,不在计划内,这种可以使用 node-fetch/axios 来完成。