1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-25 01:38:08 +00:00
gns3-server/docs/api/examples/put_projectuuid.txt

22 lines
480 B
Plaintext
Raw Normal View History

2015-01-23 15:21:26 +00: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-27 14:06:55 +00:00
CONNECTION: keep-alive
2015-01-23 15:21:26 +00:00
CONTENT-LENGTH: 158
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
2015-01-27 14:06:55 +00:00
SERVER: Python/3.4 GNS3/1.3.dev1
2015-01-23 15:21:26 +00:00
X-ROUTE: /project/{uuid}
{
2015-01-27 14:06:55 +00:00
"location": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf9hmfoxi",
2015-01-23 15:21:26 +00:00
"temporary": false,
2015-01-27 14:06:55 +00:00
"uuid": "6cc80657-e8f3-445b-8c1a-e2081ac7d042"
2015-01-23 15:21:26 +00:00
}