MOVE
Método HTTP
Especificación del método HTTP MOVE
trabajo en curso
El método HTTP MOVE ha sido especificado en la sección 9.9 del documento RFC 4918 por la Internet Engineering Task Force (IETF) y el World Wide Web Consortium (W3C).
Descripción del método MOVE
trabajo en curso
Ejemplo para el método HTTP 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)