1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-10-12 02:48:55 +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-02-03 20:27:15 +00:00
CONNECTION: keep-alive
CONTENT-LENGTH: 158
2015-01-23 15:21:26 +00:00
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
2015-02-03 20:27:15 +00:00
SERVER: Python/3.4 GNS3/1.3.dev1
2015-01-23 15:21:26 +00:00
X-ROUTE: /project/{uuid}
{
2015-02-03 20:27:15 +00:00
"location": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphb8dmyls",
2015-01-23 15:21:26 +00:00
"temporary": false,
2015-02-03 20:27:15 +00:00
"uuid": "1aa054dd-e672-4961-90c3-fef730fc6301"
2015-01-23 15:21:26 +00:00
}