MKCOL
HTTP meetod
HTTP-meetodi MKCOL spetsifikatsioon
pooleliolev töö
HTTP-meetod MKCOL on täpsustatud dokumendi RFC 4918 jaotises 9.3, mille on koostanud Internet Engineering Task Force (IETF) ja World Wide Web Consortium (W3C).
Meetodi MKCOL kirjeldus
pooleliolev töö
Näide HTTP-meetodi MKCOL kohta
Request header:
MKCOL /new-directory 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
Authorization: Basic base64EncodedCredentials
Content-Length: 0
MKCOL /new-directory 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
Authorization: Basic base64EncodedCredentials
Content-Length: 0
Response header:
HTTP/1.1 201 Created
Date: Mon, 31 July 2023 15:00:00 GMT
Server: Apache/2.4.7 (Ubuntu)
Content-Length: 0
HTTP/1.1 201 Created
Date: Mon, 31 July 2023 15:00:00 GMT
Server: Apache/2.4.7 (Ubuntu)
Content-Length: 0