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-01-31 21:34:49 +00:00
|
|
|
"location": "/tmp/tmpjan_7gw5",
|
2015-01-23 15:21:26 +00:00
|
|
|
"temporary": false,
|
2015-01-31 21:34:49 +00:00
|
|
|
"uuid": "88146503-b509-40a4-ae43-0f17100c767a"
|
2015-01-23 15:21:26 +00:00
|
|
|
}
|