Home >Web Front-end >HTML Tutorial >How to use HTML's DELETE and PUT? _html/css_WEB-ITnose

How to use HTML's DELETE and PUT? _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:49:111480browse

I use these two methods in the form and then submit. The effect is the same as GET, but it just jumps to the specified page.
I originally thought DELETE meant deleting the specified page, while PUT meant uploading a new one.
Can anyone give a specific example?


Reply to discussion (solution)

On the one hand, the client program must support sending the DELETE PUT method,
On the other hand, the server must There are related processing procedures.
You can find any Restful API examples online.

On the one hand, the client program must support sending the DELETE PUT method,
On the other hand, the server must have relevant handlers.
You can find any Restful API examples online.

On the one hand, the client program must support sending the DELETE PUT method,
On the other hand, the server must have relevant handlers.
You can find any Restful API examples online.



What I am talking about are the original HTTP methods PUT and DELETE. Was the original design purpose to delete and submit an HTML and other files on the server?
REST regards all URLs as a resource, so how should we understand what this resource is?
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn