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

22 lines
432 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
2015-01-31 23:34:49 +02:00
CONNECTION: close
CONTENT-LENGTH: 114
2015-01-23 17:21:26 +02:00
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
2015-01-31 23:34:49 +02:00
SERVER: Python/3.4 aiohttp/0.13.1
2015-01-23 17:21:26 +02:00
X-ROUTE: /project/{uuid}
{
2015-01-31 23:34:49 +02:00
"location": "/tmp/tmpjan_7gw5",
2015-01-23 17:21:26 +02:00
"temporary": false,
2015-01-31 23:34:49 +02:00
"uuid": "88146503-b509-40a4-ae43-0f17100c767a"
2015-01-23 17:21:26 +02:00
}