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