📜  我们可以使用 get request 而不是 put 来创建资源 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:18.698000             🧑  作者: Mango

代码示例1
No Get request only allows us to read.
It enables us to retrieve data from a
server but not create a resource.
Put or post methods should be used for
creating a resource.

Post should be used when the client sends
the page to the server and then the server
lets the client know where it put it.
Put should be used when the client
specifies the location of the page.