gns3-server/docs/api/examples/put_projectuuid.txt

22 lines
476 B
Plaintext
Raw Normal View History

2015-01-23 17:21:26 +02:00
curl -i -X PUT 'http://localhost:8000/project/{uuid}' -d '{"temporary": false}'
PUT /project/{uuid} HTTP/1.1
{
"temporary": false
}
HTTP/1.1 200
CONNECTION: close
CONTENT-LENGTH: 158
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.4 aiohttp/0.13.1
X-ROUTE: /project/{uuid}
{
"location": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpivbrfsdh",
2015-01-23 17:21:26 +02:00
"temporary": false,
"uuid": "0442fdb6-fc77-4f1c-b996-675b98dc032e"
2015-01-23 17:21:26 +02:00
}