1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-10-12 10:58:55 +00:00
gns3-server/docs/api/examples/put_projectuuid.txt
2015-01-23 16:21:26 +01:00

22 lines
476 B
Plaintext

curl -i -X PUT 'http://localhost:8000/project/{uuid}' -d '{"temporary": false}'
PUT /project/{uuid} HTTP/1.1
{
"temporary": false
}
HTTP/1.1 200
CONNECTION: close
CONTENT-LENGTH: 158
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.4 aiohttp/0.13.1
X-ROUTE: /project/{uuid}
{
"location": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps4qnfnar",
"temporary": false,
"uuid": "b3eccaca-af01-4244-a3fd-da1fb98d04c9"
}