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

22 lines
432 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-31 21:34:49 +00:00
CONNECTION: close
CONTENT-LENGTH: 114
2015-01-23 15:21:26 +00:00
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
2015-01-31 21:34:49 +00:00
SERVER: Python/3.4 aiohttp/0.13.1
2015-01-23 15:21:26 +00:00
X-ROUTE: /project/{uuid}
{
2015-02-02 00:22:31 +00:00
"location": "/tmp/tmpi95b_dec",
2015-01-23 15:21:26 +00:00
"temporary": false,
2015-02-02 00:22:31 +00:00
"uuid": "e30bf585-b257-4e14-8f7f-a5e0bdd126dd"
2015-01-23 15:21:26 +00:00
}