1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-10-12 10:58:55 +00:00
gns3-server/docs/api/examples/put_projectuuid.txt

22 lines
476 B
Plaintext

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",
"temporary": false,
"uuid": "0442fdb6-fc77-4f1c-b996-675b98dc032e"
}