MOVE

HTTP meetod

HTTP-meetodi MOVE spetsifikatsioon

pooleliolev töö
HTTP-meetod MOVE on täpsustatud dokumendi RFC 4918 jaotises 9.9, mille on koostanud Internet Engineering Task Force (IETF) ja World Wide Web Consortium (W3C).

Meetodi MOVE kirjeldus

pooleliolev töö

Näide HTTP-meetodi MOVE kohta

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
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)