2015-01-19 18:12:36 +02:00
|
|
|
curl -i -xPOST 'http://localhost:8000/project' -d '{"location": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-253/test_create_project_with_dir0"}'
|
2015-01-19 17:23:41 +02:00
|
|
|
|
|
|
|
POST /project HTTP/1.1
|
|
|
|
{
|
2015-01-19 18:12:36 +02:00
|
|
|
"location": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-253/test_create_project_with_dir0"
|
2015-01-19 17:23:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
HTTP/1.1 200
|
|
|
|
CONNECTION: close
|
|
|
|
CONTENT-LENGTH: 171
|
|
|
|
CONTENT-TYPE: application/json
|
|
|
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
|
|
|
SERVER: Python/3.4 aiohttp/0.13.1
|
|
|
|
X-ROUTE: /project
|
|
|
|
|
|
|
|
{
|
2015-01-19 18:12:36 +02:00
|
|
|
"location": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-253/test_create_project_with_dir0",
|
|
|
|
"uuid": "a8984692-a820-45de-8d4d-fc006b29072a"
|
2015-01-19 17:23:41 +02:00
|
|
|
}
|