MOVE
HTTP method
Specification of the HTTP method MOVE
work in progress
HTTP Method MOVE has been specified in Section 9.9 of Document RFC 4918 by the Internet Engineering Task Force (IETF) and the World Wide Web Consortium (W3C).
Description of the MOVE method
work in progress
Example of HTTP method MOVE
Request header:
MOVE /old-resource-path HTTP/1.1
Host: api.example.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)Chrome/58.0.3029.110 Safari/537
Destination: https://api.example.com/new-resource-path
Overwrite: T
Accept-Language: de-DE,de;q=0.5
Connection: keep-alive
MOVE /old-resource-path HTTP/1.1
Host: api.example.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)Chrome/58.0.3029.110 Safari/537
Destination: https://api.example.com/new-resource-path
Overwrite: T
Accept-Language: de-DE,de;q=0.5
Connection: keep-alive
Response header:
HTTP/1.1 201 Created (oder 204 No Content, wenn die Ressource bereits existiert und Overwrite auf T gesetzt ist)
Location: https://api.example.com/new-resource-path
Date: Mon, 31 July 2023 14:58:12 GMT
Server: Apache/2.4.7 (Ubuntu)
HTTP/1.1 201 Created (oder 204 No Content, wenn die Ressource bereits existiert und Overwrite auf T gesetzt ist)
Location: https://api.example.com/new-resource-path
Date: Mon, 31 July 2023 14:58:12 GMT
Server: Apache/2.4.7 (Ubuntu)