官术网_书友最值得收藏!

The POST Method

The POST request is generally used to update or create resources at the server, as well as when you want to send some data to be processed by the server. Especially in the context of REST, it is more accurate to consider POST as a process rather than Create.

Data is passed in the body of the request. This has the following implications:

  • You can send relatively sensitive information to the server, as the data is embedded in the body of the request and it will not be visible to the end user in the URL. However, note that your data is never truly secure unless you use HTTPS. Even if you send the data within the request body, without HTTPS, it is very easy for someone in the middle to eavesdrop on your data.
  • As the data is not sent through the request URL, it does not take up space in the URL, and it therefore has no issues with the URL length limitations:

As we have covered the fundamentals, we can now proceed to discuss ASP.NET.

主站蜘蛛池模板: 宁津县| 镇原县| 东明县| 合川市| 柯坪县| 腾冲县| 弥渡县| 沾化县| 文化| 合江县| 昌乐县| 井陉县| 眉山市| 邹城市| 桦川县| 莎车县| 宜兴市| 两当县| 平度市| 永登县| 祁门县| 察隅县| 萍乡市| 柳江县| 稻城县| 印江| 卫辉市| 万源市| 贵定县| 故城县| 普兰店市| 丁青县| 永登县| 周至县| 澳门| 南投县| 汉寿县| 彝良县| 延津县| 瑞安市| 阜阳市|