1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-25 09:48:09 +00:00
gns3-server/docs/api/examples/put_projectuuid.txt
2015-01-31 14:34:49 -07:00

22 lines
432 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: 114
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": "/tmp/tmpjan_7gw5",
"temporary": false,
"uuid": "88146503-b509-40a4-ae43-0f17100c767a"
}