如何在HTTP POST请求中发送参数?

巧了我就是萌 提交于 2020-04-05 16:41:32

问题:

In an HTTP GET request, parameters are sent as a query string : 在HTTP GET请求中,参数作为查询字符串发送:

http://example.com/page?parameter=value&also=another

In an HTTP POST request, the parameters are not sent along with the URI. 在HTTP POST请求中,参数不会与URI一起发送。

Where are the values? 价值在哪里? In the request header? 在请求标头中? In the request body? 在请求正文中? What does it look like? 它是什么样子的?


解决方案:

参考一: https://stackoom.com/question/z3Qg/如何在HTTP-POST请求中发送参数
参考二: https://oldbug.net/q/z3Qg/How-are-parameters-sent-in-an-HTTP-POST-request
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!